Class ArtifactContentPropertiesDefinition
java.lang.Object
com.azure.resourcemanager.logic.models.ArtifactProperties
com.azure.resourcemanager.logic.models.ArtifactContentPropertiesDefinition
- Direct Known Subclasses:
AssemblyProperties
The artifact content properties definition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ArtifactContentPropertiesDefinition class. -
Method Summary
Modifier and TypeMethodDescriptioncontent()
Get the content property: Anything.Get the contentLink property: The content link.Get the contentType property: The content type.void
validate()
Validates the instance.withChangedTime
(OffsetDateTime changedTime) Set the changedTime property: The artifact changed time.withContent
(Object content) Set the content property: Anything.withContentLink
(ContentLink contentLink) Set the contentLink property: The content link.withContentType
(String contentType) Set the contentType property: The content type.withCreatedTime
(OffsetDateTime createdTime) Set the createdTime property: The artifact creation time.withMetadata
(Object metadata) Set the metadata property: Anything.Methods inherited from class com.azure.resourcemanager.logic.models.ArtifactProperties
changedTime, createdTime, metadata
-
Constructor Details
-
ArtifactContentPropertiesDefinition
public ArtifactContentPropertiesDefinition()Creates an instance of ArtifactContentPropertiesDefinition class.
-
-
Method Details
-
content
Get the content property: Anything.- Returns:
- the content value.
-
withContent
Set the content property: Anything.- Parameters:
content
- the content value to set.- Returns:
- the ArtifactContentPropertiesDefinition object itself.
-
contentType
Get the contentType property: The content type.- Returns:
- the contentType value.
-
withContentType
Set the contentType property: The content type.- Parameters:
contentType
- the contentType value to set.- Returns:
- the ArtifactContentPropertiesDefinition object itself.
-
contentLink
Get the contentLink property: The content link.- Returns:
- the contentLink value.
-
withContentLink
Set the contentLink property: The content link.- Parameters:
contentLink
- the contentLink value to set.- Returns:
- the ArtifactContentPropertiesDefinition object itself.
-
withCreatedTime
Set the createdTime property: The artifact creation time.- Overrides:
withCreatedTime
in classArtifactProperties
- Parameters:
createdTime
- the createdTime value to set.- Returns:
- the ArtifactProperties object itself.
-
withChangedTime
Set the changedTime property: The artifact changed time.- Overrides:
withChangedTime
in classArtifactProperties
- Parameters:
changedTime
- the changedTime value to set.- Returns:
- the ArtifactProperties object itself.
-
withMetadata
Set the metadata property: Anything.- Overrides:
withMetadata
in classArtifactProperties
- Parameters:
metadata
- the metadata value to set.- Returns:
- the ArtifactProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classArtifactProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-