Class ArtifactTagProperties

java.lang.Object
com.azure.containers.containerregistry.models.ArtifactTagProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ArtifactTagProperties>

public final class ArtifactTagProperties extends Object implements com.azure.json.JsonSerializable<ArtifactTagProperties>
Tag attributes.
  • Constructor Details

    • ArtifactTagProperties

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

    • getRegistryLoginServer

      public String getRegistryLoginServer()
      Get the registryLoginServer property: Registry login server name. This is likely to be similar to {registry-name}.azurecr.io.
      Returns:
      the registryLoginServer value.
    • getRepositoryName

      public String getRepositoryName()
      Get the repositoryName property: Image name.
      Returns:
      the repositoryName value.
    • getName

      public String getName()
      Get the name property: Tag name.
      Returns:
      the name value.
    • getDigest

      public String getDigest()
      Get the digest property: Tag digest.
      Returns:
      the digest value.
    • getCreatedOn

      public OffsetDateTime getCreatedOn()
      Get the createdOn property: Tag created time.
      Returns:
      the createdOn value.
    • getLastUpdatedOn

      public OffsetDateTime getLastUpdatedOn()
      Get the lastUpdatedOn property: Tag last update time.
      Returns:
      the lastUpdatedOn value.
    • isDeleteEnabled

      public Boolean isDeleteEnabled()
      Get the deleteEnabled property: Delete enabled.
      Returns:
      the deleteEnabled value.
    • setDeleteEnabled

      public ArtifactTagProperties setDeleteEnabled(Boolean deleteEnabled)
      Set the deleteEnabled property: Delete enabled.
      Parameters:
      deleteEnabled - the deleteEnabled value to set.
      Returns:
      the ArtifactTagProperties object itself.
    • isWriteEnabled

      public Boolean isWriteEnabled()
      Get the writeEnabled property: Write enabled.
      Returns:
      the writeEnabled value.
    • setWriteEnabled

      public ArtifactTagProperties setWriteEnabled(Boolean writeEnabled)
      Set the writeEnabled property: Write enabled.
      Parameters:
      writeEnabled - the writeEnabled value to set.
      Returns:
      the ArtifactTagProperties object itself.
    • isListEnabled

      public Boolean isListEnabled()
      Get the listEnabled property: List enabled.
      Returns:
      the listEnabled value.
    • setListEnabled

      public ArtifactTagProperties setListEnabled(Boolean listEnabled)
      Set the listEnabled property: List enabled.
      Parameters:
      listEnabled - the listEnabled value to set.
      Returns:
      the ArtifactTagProperties object itself.
    • isReadEnabled

      public Boolean isReadEnabled()
      Get the readEnabled property: Read enabled.
      Returns:
      the readEnabled value.
    • setReadEnabled

      public ArtifactTagProperties setReadEnabled(Boolean readEnabled)
      Set the readEnabled property: Read enabled.
      Parameters:
      readEnabled - the readEnabled value to set.
      Returns:
      the ArtifactTagProperties object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ArtifactTagProperties>
      Throws:
      IOException
    • fromJson

      public static ArtifactTagProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ArtifactTagProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ArtifactTagProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ArtifactTagProperties.