Class CommunicationServiceResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.communication.fluent.models.CommunicationServiceResourceInner
-
public final class CommunicationServiceResourceInner extends com.azure.core.management.Resource
A class representing a CommunicationService resource.
-
-
Constructor Summary
Constructors Constructor Description CommunicationServiceResourceInner()
-
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.List<String>
linkedDomains()
Get the linkedDomains property: List of email Domain resource Ids.String
notificationHubId()
Get the notificationHubId property: Resource ID of an Azure Notification Hub linked to this resource.CommunicationServicesProvisioningState
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.CommunicationServiceResourceInner
withDataLocation(String dataLocation)
Set the dataLocation property: The location where the communication service stores its data at rest.CommunicationServiceResourceInner
withLinkedDomains(List<String> linkedDomains)
Set the linkedDomains property: List of email Domain resource Ids.CommunicationServiceResourceInner
withLocation(String location)
CommunicationServiceResourceInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public CommunicationServiceResourceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public CommunicationServiceResourceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 CommunicationServiceResourceInner 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 CommunicationServiceResourceInner 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 CommunicationServiceResourceInner withLinkedDomains(List<String> linkedDomains)
Set the linkedDomains property: List of email Domain resource Ids.- Parameters:
linkedDomains
- the linkedDomains value to set.- Returns:
- the CommunicationServiceResourceInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-