Class PrimaryRegionProperties
java.lang.Object
com.azure.resourcemanager.voiceservices.models.PrimaryRegionProperties
The configuration used in this region as primary, and other regions as backup.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PrimaryRegionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the allowedMediaSourceAddressPrefixes property: The allowed source IP address or CIDR ranges for media.Get the allowedSignalingSourceAddressPrefixes property: The allowed source IP address or CIDR ranges for signaling.Get the esrpAddresses property: IP address to use to contact the ESRP from this region.Get the operatorAddresses property: IP address to use to contact the operator network from this region.void
validate()
Validates the instance.withAllowedMediaSourceAddressPrefixes
(List<String> allowedMediaSourceAddressPrefixes) Set the allowedMediaSourceAddressPrefixes property: The allowed source IP address or CIDR ranges for media.withAllowedSignalingSourceAddressPrefixes
(List<String> allowedSignalingSourceAddressPrefixes) Set the allowedSignalingSourceAddressPrefixes property: The allowed source IP address or CIDR ranges for signaling.withEsrpAddresses
(List<String> esrpAddresses) Set the esrpAddresses property: IP address to use to contact the ESRP from this region.withOperatorAddresses
(List<String> operatorAddresses) Set the operatorAddresses property: IP address to use to contact the operator network from this region.
-
Constructor Details
-
PrimaryRegionProperties
public PrimaryRegionProperties()Creates an instance of PrimaryRegionProperties class.
-
-
Method Details
-
operatorAddresses
Get the operatorAddresses property: IP address to use to contact the operator network from this region.- Returns:
- the operatorAddresses value.
-
withOperatorAddresses
Set the operatorAddresses property: IP address to use to contact the operator network from this region.- Parameters:
operatorAddresses
- the operatorAddresses value to set.- Returns:
- the PrimaryRegionProperties object itself.
-
esrpAddresses
Get the esrpAddresses property: IP address to use to contact the ESRP from this region.- Returns:
- the esrpAddresses value.
-
withEsrpAddresses
Set the esrpAddresses property: IP address to use to contact the ESRP from this region.- Parameters:
esrpAddresses
- the esrpAddresses value to set.- Returns:
- the PrimaryRegionProperties object itself.
-
allowedSignalingSourceAddressPrefixes
Get the allowedSignalingSourceAddressPrefixes property: The allowed source IP address or CIDR ranges for signaling.- Returns:
- the allowedSignalingSourceAddressPrefixes value.
-
withAllowedSignalingSourceAddressPrefixes
public PrimaryRegionProperties withAllowedSignalingSourceAddressPrefixes(List<String> allowedSignalingSourceAddressPrefixes) Set the allowedSignalingSourceAddressPrefixes property: The allowed source IP address or CIDR ranges for signaling.- Parameters:
allowedSignalingSourceAddressPrefixes
- the allowedSignalingSourceAddressPrefixes value to set.- Returns:
- the PrimaryRegionProperties object itself.
-
allowedMediaSourceAddressPrefixes
Get the allowedMediaSourceAddressPrefixes property: The allowed source IP address or CIDR ranges for media.- Returns:
- the allowedMediaSourceAddressPrefixes value.
-
withAllowedMediaSourceAddressPrefixes
public PrimaryRegionProperties withAllowedMediaSourceAddressPrefixes(List<String> allowedMediaSourceAddressPrefixes) Set the allowedMediaSourceAddressPrefixes property: The allowed source IP address or CIDR ranges for media.- Parameters:
allowedMediaSourceAddressPrefixes
- the allowedMediaSourceAddressPrefixes value to set.- Returns:
- the PrimaryRegionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-