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 Details

    • ConnectedRegistryUpdateProperties

      public ConnectedRegistryUpdateProperties()
      Creates an instance of ConnectedRegistryUpdateProperties class.
  • Method Details

    • syncProperties

      public SyncUpdateProperties syncProperties()
      Get the syncProperties property: The sync properties of the connected registry with its parent.
      Returns:
      the syncProperties value.
    • 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.
    • logging

      public LoggingProperties 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

      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.
    • 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.
    • notificationsList

      public List<String> notificationsList()
      Get the notificationsList property: The list of notifications subscription information for the connected registry.
      Returns:
      the notificationsList value.
    • 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.
    • garbageCollection

      public GarbageCollectionProperties 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.