Class CommunicationServiceProperties
- java.lang.Object
-
- com.azure.resourcemanager.communication.fluent.models.CommunicationServiceProperties
-
public final class CommunicationServiceProperties extends Object
A class that describes the properties of the CommunicationService.
-
-
Constructor Summary
Constructors Constructor Description CommunicationServiceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dataLocation()
Get the dataLocation property: The location where the communication service stores its data at rest.String
hostname()
Get the hostname property: FQDN of the CommunicationService instance.String
immutableResourceId()
Get the immutableResourceId property: The immutable resource Id of the communication service.String
notificationHubId()
Get the notificationHubId property: Resource ID of an Azure Notification Hub linked to this resource.ProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state of the resource.void
validate()
Validates the instance.String
version()
Get the version property: Version of the CommunicationService resource.CommunicationServiceProperties
withDataLocation(String dataLocation)
Set the dataLocation property: The location where the communication service stores its data at rest.
-
-
-
Method Detail
-
provisioningState
public ProvisioningState 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-