Class UpdateDomainRequestParameters
- java.lang.Object
-
- com.azure.resourcemanager.communication.models.TaggedResource
-
- com.azure.resourcemanager.communication.models.UpdateDomainRequestParameters
-
public final class UpdateDomainRequestParameters extends TaggedResource
A class that describes the PATCH request parameters of a Domains resource.
-
-
Constructor Summary
Constructors Constructor Description UpdateDomainRequestParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserEngagementTracking
userEngagementTracking()
Get the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.void
validate()
Validates the instance.Map<String,String>
validSenderUsernames()
Get the validSenderUsernames property: Collection of valid sender usernames.UpdateDomainRequestParameters
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.UpdateDomainRequestParameters
withUserEngagementTracking(UserEngagementTracking userEngagementTracking)
Set the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.UpdateDomainRequestParameters
withValidSenderUsernames(Map<String,String> validSenderUsernames)
Set the validSenderUsernames property: Collection of valid sender usernames.-
Methods inherited from class com.azure.resourcemanager.communication.models.TaggedResource
tags
-
-
-
-
Method Detail
-
withTags
public UpdateDomainRequestParameters 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.
-
validSenderUsernames
public Map<String,String> validSenderUsernames()
Get the validSenderUsernames property: Collection of valid sender usernames. This is a key-value pair where key=username and value=display name.- Returns:
- the validSenderUsernames value.
-
withValidSenderUsernames
public UpdateDomainRequestParameters withValidSenderUsernames(Map<String,String> validSenderUsernames)
Set the validSenderUsernames property: Collection of valid sender usernames. This is a key-value pair where key=username and value=display name.- Parameters:
validSenderUsernames
- the validSenderUsernames value to set.- Returns:
- the UpdateDomainRequestParameters object itself.
-
userEngagementTracking
public UserEngagementTracking userEngagementTracking()
Get the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.- Returns:
- the userEngagementTracking value.
-
withUserEngagementTracking
public UpdateDomainRequestParameters withUserEngagementTracking(UserEngagementTracking userEngagementTracking)
Set the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.- Parameters:
userEngagementTracking
- the userEngagementTracking value to set.- Returns:
- the UpdateDomainRequestParameters object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classTaggedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-