Class UpdateDomainRequestParameters
java.lang.Object
com.azure.resourcemanager.communication.models.TaggedResource
com.azure.resourcemanager.communication.models.UpdateDomainRequestParameters
A class that describes the PATCH request parameters of a Domains resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.void
validate()
Validates the instance.Get the validSenderUsernames property: Collection of valid sender usernames.Set the tags property: Tags of the service which is a list of key value pairs that describe the resource.withUserEngagementTracking
(UserEngagementTracking userEngagementTracking) Set the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.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
-
Constructor Details
-
UpdateDomainRequestParameters
public UpdateDomainRequestParameters()
-
-
Method Details
-
withTags
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
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
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.
-