Share via


ConnectedRegistryUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.models.ConnectedRegistryUpdateParameters

Implements

public final class ConnectedRegistryUpdateParameters
implements JsonSerializable<ConnectedRegistryUpdateParameters>

The parameters for updating a connected registry.

Constructor Summary

Constructor Description
ConnectedRegistryUpdateParameters()

Creates an instance of ConnectedRegistryUpdateParameters class.

Method Summary

Modifier and Type Method and Description
List<String> clientTokenIds()

Get the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.

static ConnectedRegistryUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of ConnectedRegistryUpdateParameters from the JsonReader.

GarbageCollectionProperties garbageCollection()

Get the garbageCollection property: The garbage collection properties of the connected registry.

LoggingProperties logging()

Get the logging property: The logging properties of the connected registry.

List<String> notificationsList()

Get the notificationsList property: The list of notifications subscription information for the connected registry.

SyncUpdateProperties syncProperties()

Get the syncProperties property: The sync properties of the connected registry with its parent.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectedRegistryUpdateParameters withClientTokenIds(List<String> clientTokenIds)

Set the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.

ConnectedRegistryUpdateParameters withGarbageCollection(GarbageCollectionProperties garbageCollection)

Set the garbageCollection property: The garbage collection properties of the connected registry.

ConnectedRegistryUpdateParameters withLogging(LoggingProperties logging)

Set the logging property: The logging properties of the connected registry.

ConnectedRegistryUpdateParameters withNotificationsList(List<String> notificationsList)

Set the notificationsList property: The list of notifications subscription information for the connected registry.

ConnectedRegistryUpdateParameters withSyncProperties(SyncUpdateProperties syncProperties)

Set the syncProperties property: The sync properties of the connected registry with its parent.

Methods inherited from java.lang.Object

Constructor Details

ConnectedRegistryUpdateParameters

public ConnectedRegistryUpdateParameters()

Creates an instance of ConnectedRegistryUpdateParameters class.

Method Details

clientTokenIds

public List<String> clientTokenIds()

Get the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.

Returns:

the clientTokenIds value.

fromJson

public static ConnectedRegistryUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of ConnectedRegistryUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectedRegistryUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ConnectedRegistryUpdateParameters.

garbageCollection

public GarbageCollectionProperties garbageCollection()

Get the garbageCollection property: The garbage collection properties of the connected registry.

Returns:

the garbageCollection value.

logging

public LoggingProperties logging()

Get the logging property: The logging properties of the connected registry.

Returns:

the logging value.

notificationsList

public List<String> notificationsList()

Get the notificationsList property: The list of notifications subscription information for the connected registry.

Returns:

the notificationsList value.

syncProperties

public SyncUpdateProperties syncProperties()

Get the syncProperties property: The sync properties of the connected registry with its parent.

Returns:

the syncProperties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withClientTokenIds

public ConnectedRegistryUpdateParameters withClientTokenIds(List<String> clientTokenIds)

Set the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.

Parameters:

clientTokenIds - the clientTokenIds value to set.

Returns:

the ConnectedRegistryUpdateParameters object itself.

withGarbageCollection

public ConnectedRegistryUpdateParameters withGarbageCollection(GarbageCollectionProperties garbageCollection)

Set the garbageCollection property: The garbage collection properties of the connected registry.

Parameters:

garbageCollection - the garbageCollection value to set.

Returns:

the ConnectedRegistryUpdateParameters object itself.

withLogging

public ConnectedRegistryUpdateParameters withLogging(LoggingProperties logging)

Set the logging property: The logging properties of the connected registry.

Parameters:

logging - the logging value to set.

Returns:

the ConnectedRegistryUpdateParameters object itself.

withNotificationsList

public ConnectedRegistryUpdateParameters withNotificationsList(List<String> notificationsList)

Set the notificationsList property: The list of notifications subscription information for the connected registry.

Parameters:

notificationsList - the notificationsList value to set.

Returns:

the ConnectedRegistryUpdateParameters object itself.

withSyncProperties

public ConnectedRegistryUpdateParameters withSyncProperties(SyncUpdateProperties syncProperties)

Set the syncProperties property: The sync properties of the connected registry with its parent.

Parameters:

syncProperties - the syncProperties value to set.

Returns:

the ConnectedRegistryUpdateParameters object itself.

Applies to