MhsmGeoReplicatedRegionInner Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. fluent. models. MhsmGeoReplicatedRegionInner
- com.
Implements
public final class MhsmGeoReplicatedRegionInner
implements JsonSerializable<MhsmGeoReplicatedRegionInner>
A region that this managed HSM Pool has been extended to.
Constructor Summary
Constructor | Description |
---|---|
MhsmGeoReplicatedRegionInner() |
Creates an instance of Mhsm |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Mhsm |
fromJson(JsonReader jsonReader)
Reads an instance of Mhsm |
Boolean |
isPrimary()
Get the is |
String |
name()
Get the name property: Name of the geo replicated region. |
Geo |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Mhsm |
withIsPrimary(Boolean isPrimary)
Set the is |
Mhsm |
withName(String name)
Set the name property: Name of the geo replicated region. |
Methods inherited from java.lang.Object
Constructor Details
MhsmGeoReplicatedRegionInner
public MhsmGeoReplicatedRegionInner()
Creates an instance of MhsmGeoReplicatedRegionInner class.
Method Details
fromJson
public static MhsmGeoReplicatedRegionInner fromJson(JsonReader jsonReader)
Reads an instance of MhsmGeoReplicatedRegionInner from the JsonReader.
Parameters:
Returns:
Throws:
isPrimary
public Boolean isPrimary()
Get the isPrimary property: A boolean value that indicates whether the region is the primary region or a secondary region.
Returns:
name
public String name()
Get the name property: Name of the geo replicated region.
Returns:
provisioningState
public GeoReplicationRegionProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the geo replicated region.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsPrimary
public MhsmGeoReplicatedRegionInner withIsPrimary(Boolean isPrimary)
Set the isPrimary property: A boolean value that indicates whether the region is the primary region or a secondary region.
Parameters:
Returns:
withName
public MhsmGeoReplicatedRegionInner withName(String name)
Set the name property: Name of the geo replicated region.
Parameters:
Returns:
Applies to
Azure SDK for Java