Class SystemData
java.lang.Object
com.microsoft.azure.management.cdn.SystemData
Read only system data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
Get the timestamp of resource creation (UTC).Get an identifier for the identity that created the resource.Get the type of identity that created the resource.org.joda.time.DateTime
Get the timestamp of resource last modification (UTC).Get an identifier for the identity that last modified the resource.Get the type of identity that last modified the resource.withCreatedAt
(org.joda.time.DateTime createdAt) Set the timestamp of resource creation (UTC).withCreatedBy
(String createdBy) Set an identifier for the identity that created the resource.withCreatedByType
(IdentityType createdByType) Set the type of identity that created the resource.withLastModifiedAt
(org.joda.time.DateTime lastModifiedAt) Set the timestamp of resource last modification (UTC).withLastModifiedBy
(String lastModifiedBy) Set an identifier for the identity that last modified the resource.withLastModifiedByType
(IdentityType lastModifiedByType) Set the type of identity that last modified the resource.
-
Constructor Details
-
SystemData
public SystemData()
-
-
Method Details
-
createdBy
Get an identifier for the identity that created the resource.- Returns:
- the createdBy value
-
withCreatedBy
Set an identifier for the identity that created the resource.- Parameters:
createdBy
- the createdBy value to set- Returns:
- the SystemData object itself.
-
createdByType
Get the type of identity that created the resource. Possible values include: 'user', 'application', 'managedIdentity', 'key'.- Returns:
- the createdByType value
-
withCreatedByType
Set the type of identity that created the resource. Possible values include: 'user', 'application', 'managedIdentity', 'key'.- Parameters:
createdByType
- the createdByType value to set- Returns:
- the SystemData object itself.
-
createdAt
public org.joda.time.DateTime createdAt()Get the timestamp of resource creation (UTC).- Returns:
- the createdAt value
-
withCreatedAt
Set the timestamp of resource creation (UTC).- Parameters:
createdAt
- the createdAt value to set- Returns:
- the SystemData object itself.
-
lastModifiedBy
Get an identifier for the identity that last modified the resource.- Returns:
- the lastModifiedBy value
-
withLastModifiedBy
Set an identifier for the identity that last modified the resource.- Parameters:
lastModifiedBy
- the lastModifiedBy value to set- Returns:
- the SystemData object itself.
-
lastModifiedByType
Get the type of identity that last modified the resource. Possible values include: 'user', 'application', 'managedIdentity', 'key'.- Returns:
- the lastModifiedByType value
-
withLastModifiedByType
Set the type of identity that last modified the resource. Possible values include: 'user', 'application', 'managedIdentity', 'key'.- Parameters:
lastModifiedByType
- the lastModifiedByType value to set- Returns:
- the SystemData object itself.
-
lastModifiedAt
public org.joda.time.DateTime lastModifiedAt()Get the timestamp of resource last modification (UTC).- Returns:
- the lastModifiedAt value
-
withLastModifiedAt
Set the timestamp of resource last modification (UTC).- Parameters:
lastModifiedAt
- the lastModifiedAt value to set- Returns:
- the SystemData object itself.
-