Class ConnectedRegistryUpdateProperties
java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.ConnectedRegistryUpdateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectedRegistryUpdateProperties>
public final class ConnectedRegistryUpdateProperties
extends Object
implements com.azure.json.JsonSerializable<ConnectedRegistryUpdateProperties>
The parameters for updating token properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectedRegistryUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectedRegistryUpdateProperties from the JsonReader.Get the garbageCollection property: The garbage collection properties of the connected registry.logging()Get the logging property: The logging properties of the connected registry.Get the notificationsList property: The list of notifications subscription information for the connected registry.Get the syncProperties property: The sync properties of the connected registry with its parent.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withClientTokenIds(List<String> clientTokenIds) Set the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.withGarbageCollection(GarbageCollectionProperties garbageCollection) Set the garbageCollection property: The garbage collection properties of the connected registry.withLogging(LoggingProperties logging) Set the logging property: The logging properties of the connected registry.withNotificationsList(List<String> notificationsList) Set the notificationsList property: The list of notifications subscription information for the connected registry.withSyncProperties(SyncUpdateProperties syncProperties) Set the syncProperties property: The sync properties of the connected registry with its parent.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ConnectedRegistryUpdateProperties
public ConnectedRegistryUpdateProperties()Creates an instance of ConnectedRegistryUpdateProperties class.
-
-
Method Details
-
syncProperties
Get the syncProperties property: The sync properties of the connected registry with its parent.- Returns:
- the syncProperties value.
-
withSyncProperties
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.
-
logging
Get the logging property: The logging properties of the connected registry.- Returns:
- the logging value.
-
withLogging
Set the logging property: The logging properties of the connected registry.- Parameters:
logging- the logging value to set.- Returns:
- the ConnectedRegistryUpdateProperties object itself.
-
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.
-
withClientTokenIds
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.
-
notificationsList
Get the notificationsList property: The list of notifications subscription information for the connected registry.- Returns:
- the notificationsList value.
-
withNotificationsList
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.
-
garbageCollection
Get the garbageCollection property: The garbage collection properties of the connected registry.- Returns:
- the garbageCollection value.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ConnectedRegistryUpdateProperties>- Throws:
IOException
-
fromJson
public static ConnectedRegistryUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-