Class CommunicationServiceResourceUpdate
- java.lang.Object
-
- com.azure.resourcemanager.communication.models.TaggedResource
-
- com.azure.resourcemanager.communication.models.CommunicationServiceResourceUpdate
-
public final class CommunicationServiceResourceUpdate extends TaggedResource
A class representing update parameters for CommunicationService resource.
-
-
Constructor Summary
Constructors Constructor Description CommunicationServiceResourceUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
linkedDomains()
Get the linkedDomains property: List of email Domain resource Ids.void
validate()
Validates the instance.CommunicationServiceResourceUpdate
withLinkedDomains(List<String> linkedDomains)
Set the linkedDomains property: List of email Domain resource Ids.CommunicationServiceResourceUpdate
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.-
Methods inherited from class com.azure.resourcemanager.communication.models.TaggedResource
tags
-
-
-
-
Method Detail
-
withTags
public CommunicationServiceResourceUpdate 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.- Overrides:
withTags
in classTaggedResource
- Parameters:
tags
- the tags value to set.- Returns:
- the TaggedResource object itself.
-
linkedDomains
public List<String> linkedDomains()
Get the linkedDomains property: List of email Domain resource Ids.- Returns:
- the linkedDomains value.
-
withLinkedDomains
public CommunicationServiceResourceUpdate withLinkedDomains(List<String> linkedDomains)
Set the linkedDomains property: List of email Domain resource Ids.- Parameters:
linkedDomains
- the linkedDomains value to set.- Returns:
- the CommunicationServiceResourceUpdate object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classTaggedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-