Class CommunicationServiceProperties
java.lang.Object
com.azure.resourcemanager.communication.fluent.models.CommunicationServiceProperties
A class that describes the properties of the CommunicationService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dataLocation property: The location where the communication service stores its data at rest.hostname()
Get the hostname property: FQDN of the CommunicationService instance.Get the immutableResourceId property: The immutable resource Id of the communication service.Get the linkedDomains property: List of email Domain resource Ids.Get the notificationHubId property: Resource ID of an Azure Notification Hub linked to this resource.Get the provisioningState property: Provisioning state of the resource.void
validate()
Validates the instance.version()
Get the version property: Version of the CommunicationService resource.withDataLocation
(String dataLocation) Set the dataLocation property: The location where the communication service stores its data at rest.withLinkedDomains
(List<String> linkedDomains) Set the linkedDomains property: List of email Domain resource Ids.
-
Constructor Details
-
CommunicationServiceProperties
public CommunicationServiceProperties()
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
hostname
Get the hostname property: FQDN of the CommunicationService instance.- Returns:
- the hostname value.
-
dataLocation
Get the dataLocation property: The location where the communication service stores its data at rest.- Returns:
- the dataLocation value.
-
withDataLocation
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
Get the notificationHubId property: Resource ID of an Azure Notification Hub linked to this resource.- Returns:
- the notificationHubId value.
-
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
Get the immutableResourceId property: The immutable resource Id of the communication service.- Returns:
- the immutableResourceId value.
-
linkedDomains
Get the linkedDomains property: List of email Domain resource Ids.- Returns:
- the linkedDomains value.
-
withLinkedDomains
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.
-