Class DomainProperties


  • public final class DomainProperties
    extends Object
    A class that describes the properties of a Domains resource.
    • Constructor Detail

      • DomainProperties

        public DomainProperties()
    • Method Detail

      • provisioningState

        public DomainsProvisioningState provisioningState()
        Get the provisioningState property: Provisioning state of the resource.
        Returns:
        the provisioningState value.
      • dataLocation

        public String dataLocation()
        Get the dataLocation property: The location where the Domains resource data is stored at rest.
        Returns:
        the dataLocation value.
      • fromSenderDomain

        public String fromSenderDomain()
        Get the fromSenderDomain property: P2 sender domain that is displayed to the email recipients [RFC 5322].
        Returns:
        the fromSenderDomain value.
      • mailFromSenderDomain

        public String mailFromSenderDomain()
        Get the mailFromSenderDomain property: P1 sender domain that is present on the email envelope [RFC 5321].
        Returns:
        the mailFromSenderDomain value.
      • domainManagement

        public DomainManagement domainManagement()
        Get the domainManagement property: Describes how a Domains resource is being managed.
        Returns:
        the domainManagement value.
      • withDomainManagement

        public DomainProperties withDomainManagement​(DomainManagement domainManagement)
        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

        public DomainPropertiesVerificationStates verificationStates()
        Get the verificationStates property: List of VerificationStatusRecord.
        Returns:
        the verificationStates value.
      • verificationRecords

        public DomainPropertiesVerificationRecords verificationRecords()
        Get the verificationRecords property: List of DnsRecord.
        Returns:
        the verificationRecords value.
      • 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 DomainProperties 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 DomainProperties 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 DomainProperties 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 DomainProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.