SystemData Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.SystemData

public class SystemData

Read only system data.

Constructor Summary

Constructor Description
SystemData()

Method Summary

Modifier and Type Method and Description
org.joda.time.DateTime createdAt()

Get the timestamp of resource creation (UTC).

java.lang.String createdBy()

Get an identifier for the identity that created the resource.

IdentityType createdByType()

Get the type of identity that created the resource.

org.joda.time.DateTime lastModifiedAt()

Get the timestamp of resource last modification (UTC).

java.lang.String lastModifiedBy()

Get an identifier for the identity that last modified the resource.

IdentityType lastModifiedByType()

Get the type of identity that last modified the resource.

SystemData withCreatedAt(DateTime createdAt)

Set the timestamp of resource creation (UTC).

SystemData withCreatedBy(String createdBy)

Set an identifier for the identity that created the resource.

SystemData withCreatedByType(IdentityType createdByType)

Set the type of identity that created the resource.

SystemData withLastModifiedAt(DateTime lastModifiedAt)

Set the timestamp of resource last modification (UTC).

SystemData withLastModifiedBy(String lastModifiedBy)

Set an identifier for the identity that last modified the resource.

SystemData withLastModifiedByType(IdentityType lastModifiedByType)

Set the type of identity that last modified the resource.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SystemData

public SystemData()

Method Details

createdAt

public DateTime createdAt()

Get the timestamp of resource creation (UTC).

Returns:

the createdAt value

createdBy

public String createdBy()

Get an identifier for the identity that created the resource.

Returns:

the createdBy value

createdByType

public IdentityType createdByType()

Get the type of identity that created the resource. Possible values include: 'user', 'application', 'managedIdentity', 'key'.

Returns:

the createdByType value

lastModifiedAt

public DateTime lastModifiedAt()

Get the timestamp of resource last modification (UTC).

Returns:

the lastModifiedAt value

lastModifiedBy

public String lastModifiedBy()

Get an identifier for the identity that last modified the resource.

Returns:

the lastModifiedBy value

lastModifiedByType

public IdentityType lastModifiedByType()

Get the type of identity that last modified the resource. Possible values include: 'user', 'application', 'managedIdentity', 'key'.

Returns:

the lastModifiedByType value

withCreatedAt

public SystemData withCreatedAt(DateTime createdAt)

Set the timestamp of resource creation (UTC).

Parameters:

createdAt - the createdAt value to set

Returns:

the SystemData object itself.

withCreatedBy

public SystemData withCreatedBy(String createdBy)

Set an identifier for the identity that created the resource.

Parameters:

createdBy - the createdBy value to set

Returns:

the SystemData object itself.

withCreatedByType

public SystemData withCreatedByType(IdentityType createdByType)

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.

withLastModifiedAt

public SystemData withLastModifiedAt(DateTime lastModifiedAt)

Set the timestamp of resource last modification (UTC).

Parameters:

lastModifiedAt - the lastModifiedAt value to set

Returns:

the SystemData object itself.

withLastModifiedBy

public SystemData withLastModifiedBy(String lastModifiedBy)

Set an identifier for the identity that last modified the resource.

Parameters:

lastModifiedBy - the lastModifiedBy value to set

Returns:

the SystemData object itself.

withLastModifiedByType

public SystemData withLastModifiedByType(IdentityType lastModifiedByType)

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.

Applies to