ConnectedRegistryUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.ConnectedRegistryUpdateProperties

Implements

public final class ConnectedRegistryUpdateProperties
implements JsonSerializable<ConnectedRegistryUpdateProperties>

The parameters for updating token properties.

Constructor Summary

Constructor Description
ConnectedRegistryUpdateProperties()

Creates an instance of ConnectedRegistryUpdateProperties 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 ConnectedRegistryUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectedRegistryUpdateProperties 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.

ConnectedRegistryUpdateProperties withClientTokenIds(List<String> clientTokenIds)

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

ConnectedRegistryUpdateProperties withGarbageCollection(GarbageCollectionProperties garbageCollection)

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

ConnectedRegistryUpdateProperties withLogging(LoggingProperties logging)

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

ConnectedRegistryUpdateProperties withNotificationsList(List<String> notificationsList)

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

ConnectedRegistryUpdateProperties 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

ConnectedRegistryUpdateProperties

public ConnectedRegistryUpdateProperties()

Creates an instance of ConnectedRegistryUpdateProperties 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 ConnectedRegistryUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectedRegistryUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectedRegistryUpdateProperties 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 ConnectedRegistryUpdateProperties.

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 ConnectedRegistryUpdateProperties 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 ConnectedRegistryUpdateProperties object itself.

withGarbageCollection

public ConnectedRegistryUpdateProperties withGarbageCollection(GarbageCollectionProperties garbageCollection)

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

Parameters:

garbageCollection - the garbageCollection value to set.

Returns:

the ConnectedRegistryUpdateProperties object itself.

withLogging

public ConnectedRegistryUpdateProperties withLogging(LoggingProperties logging)

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

Parameters:

logging - the logging value to set.

Returns:

the ConnectedRegistryUpdateProperties object itself.

withNotificationsList

public ConnectedRegistryUpdateProperties 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 ConnectedRegistryUpdateProperties object itself.

withSyncProperties

public ConnectedRegistryUpdateProperties 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 ConnectedRegistryUpdateProperties object itself.

Applies to