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 Summary
Constructors Constructor Description TopLevelDomainInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanprivacy()Get the privacy property: If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.voidvalidate()Validates the instance.TopLevelDomainInnerwithKind(String kind)Set the kind property: Kind of resource.TopLevelDomainInnerwithPrivacy(Boolean privacy)Set the privacy property: If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public TopLevelDomainInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-