Class MhsmGeoReplicatedRegionInner

java.lang.Object
com.azure.resourcemanager.keyvault.fluent.models.MhsmGeoReplicatedRegionInner

public final class MhsmGeoReplicatedRegionInner extends Object
A region that this managed HSM Pool has been extended to.
  • Constructor Details

    • MhsmGeoReplicatedRegionInner

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

    • name

      public String name()
      Get the name property: Name of the geo replicated region.
      Returns:
      the name value.
    • withName

      public MhsmGeoReplicatedRegionInner withName(String name)
      Set the name property: Name of the geo replicated region.
      Parameters:
      name - the name value to set.
      Returns:
      the MhsmGeoReplicatedRegionInner object itself.
    • provisioningState

      public GeoReplicationRegionProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the geo replicated region.
      Returns:
      the provisioningState value.
    • 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:
      the isPrimary value.
    • 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:
      isPrimary - the isPrimary value to set.
      Returns:
      the MhsmGeoReplicatedRegionInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.