Class GeoPriorityReplicationStatus

java.lang.Object
com.azure.resourcemanager.storage.models.GeoPriorityReplicationStatus
All Implemented Interfaces:
com.azure.json.JsonSerializable<GeoPriorityReplicationStatus>

public final class GeoPriorityReplicationStatus extends Object implements com.azure.json.JsonSerializable<GeoPriorityReplicationStatus>
Geo Priority Replication enablement status for the storage account.
  • Constructor Details

    • GeoPriorityReplicationStatus

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

    • isBlobEnabled

      public Boolean isBlobEnabled()
      Get the isBlobEnabled property: Indicates whether Blob Geo Priority Replication is enabled for the storage account.
      Returns:
      the isBlobEnabled value.
    • withIsBlobEnabled

      public GeoPriorityReplicationStatus withIsBlobEnabled(Boolean isBlobEnabled)
      Set the isBlobEnabled property: Indicates whether Blob Geo Priority Replication is enabled for the storage account.
      Parameters:
      isBlobEnabled - the isBlobEnabled value to set.
      Returns:
      the GeoPriorityReplicationStatus 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<GeoPriorityReplicationStatus>
      Throws:
      IOException
    • fromJson

      public static GeoPriorityReplicationStatus fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of GeoPriorityReplicationStatus from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of GeoPriorityReplicationStatus 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 GeoPriorityReplicationStatus.