java.lang.Object
com.azure.resourcemanager.voiceservices.models.ServiceRegionProperties
public final class ServiceRegionProperties
extends Object
The service region configuration needed for Teams Callings.
-
Constructor Summary
Constructors
Creates an instance of ServiceRegionProperties class.
-
Method Summary
Get the name property: The name of the region in which the resources needed for Teams Calling will be deployed.
Get the primaryRegionProperties property: The configuration used in this region as primary, and other regions as
backup.
void
Set the name property: The name of the region in which the resources needed for Teams Calling will be deployed.
Set the primaryRegionProperties property: The configuration used in this region as primary, and other regions as
backup.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ServiceRegionProperties
public ServiceRegionProperties()
Creates an instance of ServiceRegionProperties class.
-
Method Details
-
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
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
Get the primaryRegionProperties property: The configuration used in this region as primary, and other regions as
backup.
- Returns:
- the primaryRegionProperties value.
-
withPrimaryRegionProperties
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.