Class SecurityPerimeterSystemData
java.lang.Object
com.azure.resourcemanager.network.models.SecurityPerimeterSystemData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SecurityPerimeterSystemData>
public final class SecurityPerimeterSystemData
extends Object
implements com.azure.json.JsonSerializable<SecurityPerimeterSystemData>
Metadata pertaining to creation and last modification of the resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SecurityPerimeterSystemData class. -
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.static SecurityPerimeterSystemDatafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SecurityPerimeterSystemData from the JsonReader.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.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SecurityPerimeterSystemData
public SecurityPerimeterSystemData()Creates an instance of SecurityPerimeterSystemData class.
-
-
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 SecurityPerimeterSystemData 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 SecurityPerimeterSystemData 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 SecurityPerimeterSystemData 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 SecurityPerimeterSystemData 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 SecurityPerimeterSystemData 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 SecurityPerimeterSystemData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SecurityPerimeterSystemData>- Throws:
IOException
-
fromJson
public static SecurityPerimeterSystemData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SecurityPerimeterSystemData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SecurityPerimeterSystemData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SecurityPerimeterSystemData.
-