Class DomainResourceInner


  • public final class DomainResourceInner
    extends com.azure.core.management.Resource
    A class representing a Domains resource.
    • Constructor Detail

      • DomainResourceInner

        public DomainResourceInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
        Returns:
        the systemData value.
      • withLocation

        public DomainResourceInner withLocation​(String location)
        Overrides:
        withLocation in class com.azure.core.management.Resource
      • 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 DomainResourceInner withDomainManagement​(DomainManagement domainManagement)
        Set the domainManagement property: Describes how a Domains resource is being managed.
        Parameters:
        domainManagement - the domainManagement value to set.
        Returns:
        the DomainResourceInner 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 DomainResourceInner 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 DomainResourceInner 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 DomainResourceInner 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 DomainResourceInner object itself.
      • validate

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