TopLevelDomainInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. TopLevelDomainInner
- com.
- com.
- com.
public final class TopLevelDomainInner
extends ProxyOnlyResource
A top level domain object.
Constructor Summary
Constructor | Description |
---|---|
TopLevelDomainInner() |
Creates an instance of Top |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Top |
fromJson(JsonReader jsonReader)
Reads an instance of Top |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Boolean |
privacy()
Get the privacy property: If |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Top |
withKind(String kind)
Set the kind property: Kind of resource. |
Top |
withPrivacy(Boolean privacy)
Set the privacy property: If |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
TopLevelDomainInner
public TopLevelDomainInner()
Creates an instance of TopLevelDomainInner class.
Method Details
fromJson
public static TopLevelDomainInner fromJson(JsonReader jsonReader)
Reads an instance of TopLevelDomainInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TopLevelDomainInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TopLevelDomainInner.name()Returns:
privacy
public Boolean privacy()
Get the privacy property: If true
, then the top level domain supports domain privacy; otherwise, false
.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TopLevelDomainInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TopLevelDomainInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
TopLevelDomainInner.validate()withKind
public TopLevelDomainInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
TopLevelDomainInner.withKind(String kind)Parameters:
withPrivacy
public TopLevelDomainInner withPrivacy(Boolean privacy)
Set the privacy property: If true
, then the top level domain supports domain privacy; otherwise, false
.
Parameters:
Returns:
Applies to
Azure SDK for Java