Class ArtifactProperties
java.lang.Object
com.azure.resourcemanager.logic.models.ArtifactProperties
- Direct Known Subclasses:
ArtifactContentPropertiesDefinition
,BatchConfigurationProperties
The artifact properties definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the changedTime property: The artifact changed time.Get the createdTime property: The artifact creation time.metadata()
Get the metadata property: Anything.void
validate()
Validates the instance.withChangedTime
(OffsetDateTime changedTime) Set the changedTime property: The artifact changed time.withCreatedTime
(OffsetDateTime createdTime) Set the createdTime property: The artifact creation time.withMetadata
(Object metadata) Set the metadata property: Anything.
-
Constructor Details
-
ArtifactProperties
public ArtifactProperties()Creates an instance of ArtifactProperties class.
-
-
Method Details
-
createdTime
Get the createdTime property: The artifact creation time.- Returns:
- the createdTime value.
-
withCreatedTime
Set the createdTime property: The artifact creation time.- Parameters:
createdTime
- the createdTime value to set.- Returns:
- the ArtifactProperties object itself.
-
changedTime
Get the changedTime property: The artifact changed time.- Returns:
- the changedTime value.
-
withChangedTime
Set the changedTime property: The artifact changed time.- Parameters:
changedTime
- the changedTime value to set.- Returns:
- the ArtifactProperties object itself.
-
metadata
Get the metadata property: Anything.- Returns:
- the metadata value.
-
withMetadata
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.
-