public final class SystemMetadata extends Object
Constructor and Description |
---|
SystemMetadata() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdAt()
Get the createdAt property: The timestamp of resource creation (UTC).
|
String |
createdBy()
Get the createdBy property: The identity that created the resource.
|
CreatedByType |
createdByType()
Get the createdByType property: The type of identity that created the resource.
|
OffsetDateTime |
lastModifiedAt()
Get the lastModifiedAt property: The type of identity that last modified the resource.
|
String |
lastModifiedBy()
Get the lastModifiedBy property: The identity that last modified the resource.
|
CreatedByType |
lastModifiedByType()
Get the lastModifiedByType property: The type of identity that last modified the resource.
|
void |
validate()
Validates the instance.
|
SystemMetadata |
withCreatedAt(OffsetDateTime createdAt)
Set the createdAt property: The timestamp of resource creation (UTC).
|
SystemMetadata |
withCreatedBy(String createdBy)
Set the createdBy property: The identity that created the resource.
|
SystemMetadata |
withCreatedByType(CreatedByType createdByType)
Set the createdByType property: The type of identity that created the resource.
|
SystemMetadata |
withLastModifiedAt(OffsetDateTime lastModifiedAt)
Set the lastModifiedAt property: The type of identity that last modified the resource.
|
SystemMetadata |
withLastModifiedBy(String lastModifiedBy)
Set the lastModifiedBy property: The identity that last modified the resource.
|
SystemMetadata |
withLastModifiedByType(CreatedByType lastModifiedByType)
Set the lastModifiedByType property: The type of identity that last modified the resource.
|
public String createdBy()
public SystemMetadata withCreatedBy(String createdBy)
createdBy
- the createdBy value to set.public CreatedByType createdByType()
public SystemMetadata withCreatedByType(CreatedByType createdByType)
createdByType
- the createdByType value to set.public OffsetDateTime createdAt()
public SystemMetadata withCreatedAt(OffsetDateTime createdAt)
createdAt
- the createdAt value to set.public String lastModifiedBy()
public SystemMetadata withLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- the lastModifiedBy value to set.public CreatedByType lastModifiedByType()
public SystemMetadata withLastModifiedByType(CreatedByType lastModifiedByType)
lastModifiedByType
- the lastModifiedByType value to set.public OffsetDateTime lastModifiedAt()
public SystemMetadata withLastModifiedAt(OffsetDateTime lastModifiedAt)
lastModifiedAt
- the lastModifiedAt value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.