Class CommunicationServiceResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.communication.fluent.models.CommunicationServiceResourceInner
-
public final class CommunicationServiceResourceInner extends com.azure.core.management.ProxyResource
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.String
location()
Get the location property: The Azure location where the CommunicationService is running.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.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.Map<String,String>
tags()
Get the tags property: Tags of the service which is a list of key value pairs that describe 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
withLocation(String location)
Set the location property: The Azure location where the CommunicationService is running.CommunicationServiceResourceInner
withTags(Map<String,String> tags)
Set the tags property: Tags of the service which is a list of key value pairs that describe the resource.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
location
public String location()
Get the location property: The Azure location where the CommunicationService is running.- Returns:
- the location value.
-
withLocation
public CommunicationServiceResourceInner withLocation(String location)
Set the location property: The Azure location where the CommunicationService is running.- Parameters:
location
- the location value to set.- Returns:
- the CommunicationServiceResourceInner object itself.
-
tags
public Map<String,String> tags()
Get the tags property: Tags of the service which is a list of key value pairs that describe the resource.- Returns:
- the tags value.
-
withTags
public CommunicationServiceResourceInner withTags(Map<String,String> tags)
Set the tags property: Tags of the service which is a list of key value pairs that describe the resource.- Parameters:
tags
- the tags value to set.- Returns:
- the CommunicationServiceResourceInner object itself.
-
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 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-