Freigeben über


GeoPriorityReplicationStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.GeoPriorityReplicationStatus

Implements

public final class GeoPriorityReplicationStatus
implements JsonSerializable<GeoPriorityReplicationStatus>

Geo Priority Replication enablement status for the storage account.

Constructor Summary

Constructor Description
GeoPriorityReplicationStatus()

Creates an instance of GeoPriorityReplicationStatus class.

Method Summary

Modifier and Type Method and Description
static GeoPriorityReplicationStatus fromJson(JsonReader jsonReader)

Reads an instance of GeoPriorityReplicationStatus from the JsonReader.

Boolean isBlobEnabled()

Get the isBlobEnabled property: Indicates whether Blob Geo Priority Replication is enabled for the storage account.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GeoPriorityReplicationStatus withIsBlobEnabled(Boolean isBlobEnabled)

Set the isBlobEnabled property: Indicates whether Blob Geo Priority Replication is enabled for the storage account.

Methods inherited from java.lang.Object

Constructor Details

GeoPriorityReplicationStatus

public GeoPriorityReplicationStatus()

Creates an instance of GeoPriorityReplicationStatus class.

Method Details

fromJson

public static GeoPriorityReplicationStatus fromJson(JsonReader jsonReader)

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.

isBlobEnabled

public Boolean isBlobEnabled()

Get the isBlobEnabled property: Indicates whether Blob Geo Priority Replication is enabled for the storage account.

Returns:

the isBlobEnabled value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

Applies to