Class TopLevelDomainInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.TopLevelDomainInner

public final class TopLevelDomainInner extends ProxyOnlyResource
A top level domain object.
  • Constructor Details

    • TopLevelDomainInner

      public TopLevelDomainInner()
  • Method Details

    • withKind

      public TopLevelDomainInner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • privacy

      public Boolean privacy()
      Get the privacy property: If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.
      Returns:
      the privacy value.
    • withPrivacy

      public TopLevelDomainInner withPrivacy(Boolean privacy)
      Set the privacy property: If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.
      Parameters:
      privacy - the privacy value to set.
      Returns:
      the TopLevelDomainInner object itself.
    • validate

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