Class CommunicationsGatewayInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.voiceservices.fluent.models.CommunicationsGatewayInner

public final class CommunicationsGatewayInner extends com.azure.core.management.Resource
A CommunicationsGateway resource.
  • Constructor Details

    • CommunicationsGatewayInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • withLocation

      public CommunicationsGatewayInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public CommunicationsGatewayInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner object itself.
    • codecs

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

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

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

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

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

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

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

      public CommunicationsGatewayInner withApiBridge(Object apiBridge)
      Set the apiBridge property: Details of API bridge functionality, if required.
      Parameters:
      apiBridge - the apiBridge value to set.
      Returns:
      the CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner 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 CommunicationsGatewayInner object itself.
    • validate

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