Class SystemData
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.SystemData
-
public final class SystemData extends Object
Read only system data.
-
-
Constructor Summary
Constructors Constructor Description SystemData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimecreatedAt()Get the createdAt property: The timestamp of resource creation (UTC).StringcreatedBy()Get the createdBy property: An identifier for the identity that created the resource.IdentityTypecreatedByType()Get the createdByType property: The type of identity that created the resource.OffsetDateTimelastModifiedAt()Get the lastModifiedAt property: The timestamp of resource last modification (UTC).StringlastModifiedBy()Get the lastModifiedBy property: An identifier for the identity that last modified the resource.IdentityTypelastModifiedByType()Get the lastModifiedByType property: The type of identity that last modified the resource.voidvalidate()Validates the instance.SystemDatawithCreatedAt(OffsetDateTime createdAt)Set the createdAt property: The timestamp of resource creation (UTC).SystemDatawithCreatedBy(String createdBy)Set the createdBy property: An identifier for the identity that created the resource.SystemDatawithCreatedByType(IdentityType createdByType)Set the createdByType property: The type of identity that created the resource.SystemDatawithLastModifiedAt(OffsetDateTime lastModifiedAt)Set the lastModifiedAt property: The timestamp of resource last modification (UTC).SystemDatawithLastModifiedBy(String lastModifiedBy)Set the lastModifiedBy property: An identifier for the identity that last modified the resource.SystemDatawithLastModifiedByType(IdentityType lastModifiedByType)Set the lastModifiedByType property: The type of identity that last modified the resource.
-
-
-
Method Detail
-
createdBy
public String createdBy()
Get the createdBy property: An identifier for the identity that created the resource.- Returns:
- the createdBy value.
-
withCreatedBy
public SystemData withCreatedBy(String createdBy)
Set the createdBy property: An identifier for the identity that created the resource.- Parameters:
createdBy- the createdBy value to set.- Returns:
- the SystemData object itself.
-
createdByType
public IdentityType createdByType()
Get the createdByType property: The type of identity that created the resource.- Returns:
- the createdByType value.
-
withCreatedByType
public SystemData withCreatedByType(IdentityType createdByType)
Set the createdByType property: The type of identity that created the resource.- Parameters:
createdByType- the createdByType value to set.- Returns:
- the SystemData object itself.
-
createdAt
public OffsetDateTime createdAt()
Get the createdAt property: The timestamp of resource creation (UTC).- Returns:
- the createdAt value.
-
withCreatedAt
public SystemData withCreatedAt(OffsetDateTime createdAt)
Set the createdAt property: The timestamp of resource creation (UTC).- Parameters:
createdAt- the createdAt value to set.- Returns:
- the SystemData object itself.
-
lastModifiedBy
public String lastModifiedBy()
Get the lastModifiedBy property: An identifier for the identity that last modified the resource.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
public SystemData withLastModifiedBy(String lastModifiedBy)
Set the lastModifiedBy property: An identifier for the identity that last modified the resource.- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the SystemData object itself.
-
lastModifiedByType
public IdentityType lastModifiedByType()
Get the lastModifiedByType property: The type of identity that last modified the resource.- Returns:
- the lastModifiedByType value.
-
withLastModifiedByType
public SystemData withLastModifiedByType(IdentityType lastModifiedByType)
Set the lastModifiedByType property: The type of identity that last modified the resource.- Parameters:
lastModifiedByType- the lastModifiedByType value to set.- Returns:
- the SystemData object itself.
-
lastModifiedAt
public OffsetDateTime lastModifiedAt()
Get the lastModifiedAt property: The timestamp of resource last modification (UTC).- Returns:
- the lastModifiedAt value.
-
withLastModifiedAt
public SystemData withLastModifiedAt(OffsetDateTime lastModifiedAt)
Set the lastModifiedAt property: The timestamp of resource last modification (UTC).- Parameters:
lastModifiedAt- the lastModifiedAt value to set.- Returns:
- the SystemData object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-