public class ArtifactProperties extends Object
Constructor and Description |
---|
ArtifactProperties() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
changedTime()
Get the changedTime property: The artifact changed time.
|
OffsetDateTime |
createdTime()
Get the createdTime property: The artifact creation time.
|
Object |
metadata()
Get the metadata property: Any object.
|
void |
validate()
Validates the instance.
|
ArtifactProperties |
withChangedTime(OffsetDateTime changedTime)
Set the changedTime property: The artifact changed time.
|
ArtifactProperties |
withCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: The artifact creation time.
|
ArtifactProperties |
withMetadata(Object metadata)
Set the metadata property: Any object.
|
public OffsetDateTime createdTime()
public ArtifactProperties withCreatedTime(OffsetDateTime createdTime)
createdTime
- the createdTime value to set.public OffsetDateTime changedTime()
public ArtifactProperties withChangedTime(OffsetDateTime changedTime)
changedTime
- the changedTime value to set.public Object metadata()
public ArtifactProperties withMetadata(Object metadata)
metadata
- the metadata value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.