Class PrimaryRegionProperties

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

public final class PrimaryRegionProperties extends Object
The configuration used in this region as primary, and other regions as backup.
  • Constructor Details

    • PrimaryRegionProperties

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

    • operatorAddresses

      public List<String> operatorAddresses()
      Get the operatorAddresses property: IP address to use to contact the operator network from this region.
      Returns:
      the operatorAddresses value.
    • withOperatorAddresses

      public PrimaryRegionProperties withOperatorAddresses(List<String> operatorAddresses)
      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

      public List<String> esrpAddresses()
      Get the esrpAddresses property: IP address to use to contact the ESRP from this region.
      Returns:
      the esrpAddresses value.
    • withEsrpAddresses

      public PrimaryRegionProperties withEsrpAddresses(List<String> esrpAddresses)
      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

      public List<String> 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

      public List<String> 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.