Class SystemDataAutoGenerated
java.lang.Object
com.azure.resourcemanager.loganalytics.models.SystemDataAutoGenerated
Metadata pertaining to creation and last modification of the resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the createdAt property: The timestamp of resource creation (UTC).Get the createdBy property: The identity that created the resource.Get the createdByType property: The type of identity that created the resource.Get the lastModifiedAt property: The timestamp of resource last modification (UTC).Get the lastModifiedBy property: The identity that last modified the resource.Get the lastModifiedByType property: The type of identity that last modified the resource.void
validate()
Validates the instance.withCreatedAt
(OffsetDateTime createdAt) Set the createdAt property: The timestamp of resource creation (UTC).withCreatedBy
(String createdBy) Set the createdBy property: The identity that created the resource.withCreatedByType
(CreatedByType createdByType) Set the createdByType property: The type of identity that created the resource.withLastModifiedAt
(OffsetDateTime lastModifiedAt) Set the lastModifiedAt property: The timestamp of resource last modification (UTC).withLastModifiedBy
(String lastModifiedBy) Set the lastModifiedBy property: The identity that last modified the resource.withLastModifiedByType
(CreatedByType lastModifiedByType) Set the lastModifiedByType property: The type of identity that last modified the resource.
-
Constructor Details
-
SystemDataAutoGenerated
public SystemDataAutoGenerated()
-
-
Method Details
-
createdBy
Get the createdBy property: The identity that created the resource.- Returns:
- the createdBy value.
-
withCreatedBy
Set the createdBy property: The identity that created the resource.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the SystemDataAutoGenerated object itself.
-
createdByType
Get the createdByType property: The type of identity that created the resource.- Returns:
- the createdByType value.
-
withCreatedByType
Set the createdByType property: The type of identity that created the resource.- Parameters:
createdByType
- the createdByType value to set.- Returns:
- the SystemDataAutoGenerated object itself.
-
createdAt
Get the createdAt property: The timestamp of resource creation (UTC).- Returns:
- the createdAt value.
-
withCreatedAt
Set the createdAt property: The timestamp of resource creation (UTC).- Parameters:
createdAt
- the createdAt value to set.- Returns:
- the SystemDataAutoGenerated object itself.
-
lastModifiedBy
Get the lastModifiedBy property: The identity that last modified the resource.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
Set the lastModifiedBy property: The identity that last modified the resource.- Parameters:
lastModifiedBy
- the lastModifiedBy value to set.- Returns:
- the SystemDataAutoGenerated object itself.
-
lastModifiedByType
Get the lastModifiedByType property: The type of identity that last modified the resource.- Returns:
- the lastModifiedByType value.
-
withLastModifiedByType
Set the lastModifiedByType property: The type of identity that last modified the resource.- Parameters:
lastModifiedByType
- the lastModifiedByType value to set.- Returns:
- the SystemDataAutoGenerated object itself.
-
lastModifiedAt
Get the lastModifiedAt property: The timestamp of resource last modification (UTC).- Returns:
- the lastModifiedAt value.
-
withLastModifiedAt
Set the lastModifiedAt property: The timestamp of resource last modification (UTC).- Parameters:
lastModifiedAt
- the lastModifiedAt value to set.- Returns:
- the SystemDataAutoGenerated object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-