Class DomainProperties


  • public final class DomainProperties
    extends Object
    Domain resource specific properties.
    • Constructor Detail

      • DomainProperties

        public DomainProperties()
    • Method Detail

      • contactAdmin

        public Contact contactAdmin()
        Get the contactAdmin property: Administrative contact.
        Returns:
        the contactAdmin value.
      • withContactAdmin

        public DomainProperties withContactAdmin​(Contact contactAdmin)
        Set the contactAdmin property: Administrative contact.
        Parameters:
        contactAdmin - the contactAdmin value to set.
        Returns:
        the DomainProperties object itself.
      • contactBilling

        public Contact contactBilling()
        Get the contactBilling property: Billing contact.
        Returns:
        the contactBilling value.
      • withContactBilling

        public DomainProperties withContactBilling​(Contact contactBilling)
        Set the contactBilling property: Billing contact.
        Parameters:
        contactBilling - the contactBilling value to set.
        Returns:
        the DomainProperties object itself.
      • contactRegistrant

        public Contact contactRegistrant()
        Get the contactRegistrant property: Registrant contact.
        Returns:
        the contactRegistrant value.
      • withContactRegistrant

        public DomainProperties withContactRegistrant​(Contact contactRegistrant)
        Set the contactRegistrant property: Registrant contact.
        Parameters:
        contactRegistrant - the contactRegistrant value to set.
        Returns:
        the DomainProperties object itself.
      • contactTech

        public Contact contactTech()
        Get the contactTech property: Technical contact.
        Returns:
        the contactTech value.
      • withContactTech

        public DomainProperties withContactTech​(Contact contactTech)
        Set the contactTech property: Technical contact.
        Parameters:
        contactTech - the contactTech value to set.
        Returns:
        the DomainProperties object itself.
      • registrationStatus

        public DomainStatus registrationStatus()
        Get the registrationStatus property: Domain registration status.
        Returns:
        the registrationStatus value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Domain provisioning state.
        Returns:
        the provisioningState value.
      • nameServers

        public List<String> nameServers()
        Get the nameServers property: Name servers.
        Returns:
        the nameServers value.
      • privacy

        public Boolean privacy()
        Get the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.
        Returns:
        the privacy value.
      • withPrivacy

        public DomainProperties withPrivacy​(Boolean privacy)
        Set the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.
        Parameters:
        privacy - the privacy value to set.
        Returns:
        the DomainProperties object itself.
      • createdTime

        public OffsetDateTime createdTime()
        Get the createdTime property: Domain creation timestamp.
        Returns:
        the createdTime value.
      • expirationTime

        public OffsetDateTime expirationTime()
        Get the expirationTime property: Domain expiration timestamp.
        Returns:
        the expirationTime value.
      • lastRenewedTime

        public OffsetDateTime lastRenewedTime()
        Get the lastRenewedTime property: Timestamp when the domain was renewed last time.
        Returns:
        the lastRenewedTime value.
      • autoRenew

        public Boolean autoRenew()
        Get the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.
        Returns:
        the autoRenew value.
      • withAutoRenew

        public DomainProperties withAutoRenew​(Boolean autoRenew)
        Set the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.
        Parameters:
        autoRenew - the autoRenew value to set.
        Returns:
        the DomainProperties object itself.
      • readyForDnsRecordManagement

        public Boolean readyForDnsRecordManagement()
        Get the readyForDnsRecordManagement property: <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
        Returns:
        the readyForDnsRecordManagement value.
      • managedHostNames

        public List<Hostname> managedHostNames()
        Get the managedHostNames property: All hostnames derived from the domain and assigned to Azure resources.
        Returns:
        the managedHostNames value.
      • consent

        public DomainPurchaseConsent consent()
        Get the consent property: Legal agreement consent.
        Returns:
        the consent value.
      • withConsent

        public DomainProperties withConsent​(DomainPurchaseConsent consent)
        Set the consent property: Legal agreement consent.
        Parameters:
        consent - the consent value to set.
        Returns:
        the DomainProperties object itself.
      • dnsType

        public DnsType dnsType()
        Get the dnsType property: Current DNS type.
        Returns:
        the dnsType value.
      • withDnsType

        public DomainProperties withDnsType​(DnsType dnsType)
        Set the dnsType property: Current DNS type.
        Parameters:
        dnsType - the dnsType value to set.
        Returns:
        the DomainProperties object itself.
      • dnsZoneId

        public String dnsZoneId()
        Get the dnsZoneId property: Azure DNS Zone to use.
        Returns:
        the dnsZoneId value.
      • withDnsZoneId

        public DomainProperties withDnsZoneId​(String dnsZoneId)
        Set the dnsZoneId property: Azure DNS Zone to use.
        Parameters:
        dnsZoneId - the dnsZoneId value to set.
        Returns:
        the DomainProperties object itself.
      • targetDnsType

        public DnsType targetDnsType()
        Get the targetDnsType property: Target DNS type (would be used for migration).
        Returns:
        the targetDnsType value.
      • withTargetDnsType

        public DomainProperties withTargetDnsType​(DnsType targetDnsType)
        Set the targetDnsType property: Target DNS type (would be used for migration).
        Parameters:
        targetDnsType - the targetDnsType value to set.
        Returns:
        the DomainProperties object itself.
      • authCode

        public String authCode()
        Get the authCode property: The authCode property.
        Returns:
        the authCode value.
      • withAuthCode

        public DomainProperties withAuthCode​(String authCode)
        Set the authCode property: The authCode property.
        Parameters:
        authCode - the authCode value to set.
        Returns:
        the DomainProperties object itself.
      • validate

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