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 Details

    • SecurityPerimeterSystemData

      public SecurityPerimeterSystemData()
      Creates an instance of SecurityPerimeterSystemData class.
  • Method Details

    • createdBy

      public String createdBy()
      Get the createdBy property: The identity that created the resource.
      Returns:
      the createdBy value.
    • withCreatedBy

      public SecurityPerimeterSystemData withCreatedBy(String createdBy)
      Set the createdBy property: The identity that created the resource.
      Parameters:
      createdBy - the createdBy value to set.
      Returns:
      the SecurityPerimeterSystemData object itself.
    • createdByType

      public CreatedByType createdByType()
      Get the createdByType property: The type of identity that created the resource.
      Returns:
      the createdByType value.
    • withCreatedByType

      public SecurityPerimeterSystemData withCreatedByType(CreatedByType createdByType)
      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

      public OffsetDateTime createdAt()
      Get the createdAt property: The timestamp of resource creation (UTC).
      Returns:
      the createdAt value.
    • withCreatedAt

      public SecurityPerimeterSystemData withCreatedAt(OffsetDateTime createdAt)
      Set the createdAt property: The timestamp of resource creation (UTC).
      Parameters:
      createdAt - the createdAt value to set.
      Returns:
      the SecurityPerimeterSystemData object itself.
    • lastModifiedBy

      public String lastModifiedBy()
      Get the lastModifiedBy property: The identity that last modified the resource.
      Returns:
      the lastModifiedBy value.
    • withLastModifiedBy

      public SecurityPerimeterSystemData withLastModifiedBy(String lastModifiedBy)
      Set the lastModifiedBy property: The identity that last modified the resource.
      Parameters:
      lastModifiedBy - the lastModifiedBy value to set.
      Returns:
      the SecurityPerimeterSystemData object itself.
    • lastModifiedByType

      public CreatedByType lastModifiedByType()
      Get the lastModifiedByType property: The type of identity that last modified the resource.
      Returns:
      the lastModifiedByType value.
    • withLastModifiedByType

      public SecurityPerimeterSystemData withLastModifiedByType(CreatedByType lastModifiedByType)
      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

      public OffsetDateTime lastModifiedAt()
      Get the lastModifiedAt property: The timestamp of resource last modification (UTC).
      Returns:
      the lastModifiedAt value.
    • withLastModifiedAt

      public SecurityPerimeterSystemData withLastModifiedAt(OffsetDateTime lastModifiedAt)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.