Class ServiceRegionProperties

java.lang.Object
com.azure.resourcemanager.voiceservices.models.ServiceRegionProperties

public final class ServiceRegionProperties extends Object
The service region configuration needed for Teams Callings.
  • Constructor Details

    • ServiceRegionProperties

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

    • name

      public String name()
      Get the name property: The name of the region in which the resources needed for Teams Calling will be deployed.
      Returns:
      the name value.
    • withName

      public ServiceRegionProperties withName(String name)
      Set the name property: The name of the region in which the resources needed for Teams Calling will be deployed.
      Parameters:
      name - the name value to set.
      Returns:
      the ServiceRegionProperties object itself.
    • primaryRegionProperties

      public PrimaryRegionProperties primaryRegionProperties()
      Get the primaryRegionProperties property: The configuration used in this region as primary, and other regions as backup.
      Returns:
      the primaryRegionProperties value.
    • withPrimaryRegionProperties

      public ServiceRegionProperties withPrimaryRegionProperties(PrimaryRegionProperties primaryRegionProperties)
      Set the primaryRegionProperties property: The configuration used in this region as primary, and other regions as backup.
      Parameters:
      primaryRegionProperties - the primaryRegionProperties value to set.
      Returns:
      the ServiceRegionProperties object itself.
    • validate

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