Class CommunicationServiceProperties


  • public final class CommunicationServiceProperties
    extends Object
    A class that describes the properties of the CommunicationService.
    • Constructor Detail

      • CommunicationServiceProperties

        public CommunicationServiceProperties()
    • Method Detail

      • provisioningState

        public CommunicationServicesProvisioningState provisioningState()
        Get the provisioningState property: Provisioning state of the resource.
        Returns:
        the provisioningState value.
      • hostname

        public String hostname()
        Get the hostname property: FQDN of the CommunicationService instance.
        Returns:
        the hostname value.
      • dataLocation

        public String dataLocation()
        Get the dataLocation property: The location where the communication service stores its data at rest.
        Returns:
        the dataLocation value.
      • withDataLocation

        public CommunicationServiceProperties withDataLocation​(String dataLocation)
        Set the dataLocation property: The location where the communication service stores its data at rest.
        Parameters:
        dataLocation - the dataLocation value to set.
        Returns:
        the CommunicationServiceProperties object itself.
      • notificationHubId

        public String notificationHubId()
        Get the notificationHubId property: Resource ID of an Azure Notification Hub linked to this resource.
        Returns:
        the notificationHubId value.
      • version

        public String version()
        Get the version property: Version of the CommunicationService resource. Probably you need the same or higher version of client SDKs.
        Returns:
        the version value.
      • immutableResourceId

        public String immutableResourceId()
        Get the immutableResourceId property: The immutable resource Id of the communication service.
        Returns:
        the immutableResourceId value.
      • linkedDomains

        public List<String> linkedDomains()
        Get the linkedDomains property: List of email Domain resource Ids.
        Returns:
        the linkedDomains value.
      • withLinkedDomains

        public CommunicationServiceProperties withLinkedDomains​(List<String> linkedDomains)
        Set the linkedDomains property: List of email Domain resource Ids.
        Parameters:
        linkedDomains - the linkedDomains value to set.
        Returns:
        the CommunicationServiceProperties object itself.
      • validate

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