Class CommunicationsGatewayProperties

java.lang.Object
com.azure.resourcemanager.voiceservices.fluent.models.CommunicationsGatewayProperties

public final class CommunicationsGatewayProperties extends Object
Details of the CommunicationsGateway resource.
  • Constructor Details

    • CommunicationsGatewayProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Resource provisioning state.
      Returns:
      the provisioningState value.
    • status

      public Status status()
      Get the status property: The current status of the deployment.
      Returns:
      the status value.
    • serviceLocations

      public List<ServiceRegionProperties> serviceLocations()
      Get the serviceLocations property: The regions in which to deploy the resources needed for Teams Calling.
      Returns:
      the serviceLocations value.
    • withServiceLocations

      public CommunicationsGatewayProperties withServiceLocations(List<ServiceRegionProperties> serviceLocations)
      Set the serviceLocations property: The regions in which to deploy the resources needed for Teams Calling.
      Parameters:
      serviceLocations - the serviceLocations value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • connectivity

      public Connectivity connectivity()
      Get the connectivity property: How to connect back to the operator network, e.g. MAPS.
      Returns:
      the connectivity value.
    • withConnectivity

      public CommunicationsGatewayProperties withConnectivity(Connectivity connectivity)
      Set the connectivity property: How to connect back to the operator network, e.g. MAPS.
      Parameters:
      connectivity - the connectivity value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • codecs

      public List<TeamsCodecs> codecs()
      Get the codecs property: Voice codecs to support.
      Returns:
      the codecs value.
    • withCodecs

      public CommunicationsGatewayProperties withCodecs(List<TeamsCodecs> codecs)
      Set the codecs property: Voice codecs to support.
      Parameters:
      codecs - the codecs value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • e911Type

      public E911Type e911Type()
      Get the e911Type property: How to handle 911 calls.
      Returns:
      the e911Type value.
    • withE911Type

      public CommunicationsGatewayProperties withE911Type(E911Type e911Type)
      Set the e911Type property: How to handle 911 calls.
      Parameters:
      e911Type - the e911Type value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • platforms

      public List<CommunicationsPlatform> platforms()
      Get the platforms property: What platforms to support.
      Returns:
      the platforms value.
    • withPlatforms

      public CommunicationsGatewayProperties withPlatforms(List<CommunicationsPlatform> platforms)
      Set the platforms property: What platforms to support.
      Parameters:
      platforms - the platforms value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • apiBridge

      public Object apiBridge()
      Get the apiBridge property: Details of API bridge functionality, if required.
      Returns:
      the apiBridge value.
    • withApiBridge

      public CommunicationsGatewayProperties withApiBridge(Object apiBridge)
      Set the apiBridge property: Details of API bridge functionality, if required.
      Parameters:
      apiBridge - the apiBridge value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • autoGeneratedDomainNameLabelScope

      public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()
      Get the autoGeneratedDomainNameLabelScope property: The scope at which the auto-generated domain name can be re-used.
      Returns:
      the autoGeneratedDomainNameLabelScope value.
    • withAutoGeneratedDomainNameLabelScope

      public CommunicationsGatewayProperties withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)
      Set the autoGeneratedDomainNameLabelScope property: The scope at which the auto-generated domain name can be re-used.
      Parameters:
      autoGeneratedDomainNameLabelScope - the autoGeneratedDomainNameLabelScope value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • autoGeneratedDomainNameLabel

      public String autoGeneratedDomainNameLabel()
      Get the autoGeneratedDomainNameLabel property: The autogenerated label used as part of the FQDNs for accessing the Communications Gateway.
      Returns:
      the autoGeneratedDomainNameLabel value.
    • teamsVoicemailPilotNumber

      public String teamsVoicemailPilotNumber()
      Get the teamsVoicemailPilotNumber property: This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
      Returns:
      the teamsVoicemailPilotNumber value.
    • withTeamsVoicemailPilotNumber

      public CommunicationsGatewayProperties withTeamsVoicemailPilotNumber(String teamsVoicemailPilotNumber)
      Set the teamsVoicemailPilotNumber property: This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
      Parameters:
      teamsVoicemailPilotNumber - the teamsVoicemailPilotNumber value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • onPremMcpEnabled

      public Boolean onPremMcpEnabled()
      Get the onPremMcpEnabled property: Whether an on-premises Mobile Control Point is in use.
      Returns:
      the onPremMcpEnabled value.
    • withOnPremMcpEnabled

      public CommunicationsGatewayProperties withOnPremMcpEnabled(Boolean onPremMcpEnabled)
      Set the onPremMcpEnabled property: Whether an on-premises Mobile Control Point is in use.
      Parameters:
      onPremMcpEnabled - the onPremMcpEnabled value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • emergencyDialStrings

      public List<String> emergencyDialStrings()
      Get the emergencyDialStrings property: A list of dial strings used for emergency calling.
      Returns:
      the emergencyDialStrings value.
    • withEmergencyDialStrings

      public CommunicationsGatewayProperties withEmergencyDialStrings(List<String> emergencyDialStrings)
      Set the emergencyDialStrings property: A list of dial strings used for emergency calling.
      Parameters:
      emergencyDialStrings - the emergencyDialStrings value to set.
      Returns:
      the CommunicationsGatewayProperties object itself.
    • validate

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