Class ArtifactProperties

java.lang.Object
com.azure.resourcemanager.logic.models.ArtifactProperties
Direct Known Subclasses:
ArtifactContentPropertiesDefinition, BatchConfigurationProperties

public class ArtifactProperties extends Object
The artifact properties definition.
  • Constructor Details

    • ArtifactProperties

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

    • createdTime

      public OffsetDateTime createdTime()
      Get the createdTime property: The artifact creation time.
      Returns:
      the createdTime value.
    • withCreatedTime

      public ArtifactProperties withCreatedTime(OffsetDateTime createdTime)
      Set the createdTime property: The artifact creation time.
      Parameters:
      createdTime - the createdTime value to set.
      Returns:
      the ArtifactProperties object itself.
    • changedTime

      public OffsetDateTime changedTime()
      Get the changedTime property: The artifact changed time.
      Returns:
      the changedTime value.
    • withChangedTime

      public ArtifactProperties withChangedTime(OffsetDateTime changedTime)
      Set the changedTime property: The artifact changed time.
      Parameters:
      changedTime - the changedTime value to set.
      Returns:
      the ArtifactProperties object itself.
    • metadata

      public Object metadata()
      Get the metadata property: Anything.
      Returns:
      the metadata value.
    • withMetadata

      public ArtifactProperties withMetadata(Object metadata)
      Set the metadata property: Anything.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the ArtifactProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.