Class DomainProperties
java.lang.Object
com.azure.resourcemanager.communication.fluent.models.DomainProperties
A class that describes the properties of a Domains resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dataLocation property: The location where the Domains resource data is stored at rest.Get the domainManagement property: Describes how a Domains resource is being managed.Get the fromSenderDomain property: P2 sender domain that is displayed to the email recipients [RFC 5322].Get the mailFromSenderDomain property: P1 sender domain that is present on the email envelope [RFC 5321].Get the provisioningState property: Provisioning state of the resource.Get 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.Get the verificationRecords property: List of DnsRecord.Get the verificationStates property: List of VerificationStatusRecord.withDomainManagement
(DomainManagement domainManagement) Set the domainManagement property: Describes how a Domains resource is being managed.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.
-
Constructor Details
-
DomainProperties
public DomainProperties()
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
dataLocation
Get the dataLocation property: The location where the Domains resource data is stored at rest.- Returns:
- the dataLocation value.
-
fromSenderDomain
Get the fromSenderDomain property: P2 sender domain that is displayed to the email recipients [RFC 5322].- Returns:
- the fromSenderDomain value.
-
mailFromSenderDomain
Get the mailFromSenderDomain property: P1 sender domain that is present on the email envelope [RFC 5321].- Returns:
- the mailFromSenderDomain value.
-
domainManagement
Get the domainManagement property: Describes how a Domains resource is being managed.- Returns:
- the domainManagement value.
-
withDomainManagement
Set the domainManagement property: Describes how a Domains resource is being managed.- Parameters:
domainManagement
- the domainManagement value to set.- Returns:
- the DomainProperties object itself.
-
verificationStates
Get the verificationStates property: List of VerificationStatusRecord.- Returns:
- the verificationStates value.
-
verificationRecords
Get the verificationRecords property: List of DnsRecord.- Returns:
- the verificationRecords value.
-
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
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 DomainProperties object itself.
-
userEngagementTracking
Get the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.- Returns:
- the userEngagementTracking value.
-
withUserEngagementTracking
Set the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.- Parameters:
userEngagementTracking
- the userEngagementTracking value to set.- Returns:
- the DomainProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-