CustomDomainResourceInner Class

public final class CustomDomainResourceInner
extends ProxyResource

Custom domain resource payload.

Constructor Summary

Constructor Description
CustomDomainResourceInner()

Creates an instance of CustomDomainResourceInner class.

Method Summary

Modifier and Type Method and Description
static CustomDomainResourceInner fromJson(JsonReader jsonReader)

Reads an instance of CustomDomainResourceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

CustomDomainProperties properties()

Get the properties property: Properties of the custom domain resource.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

CustomDomainResourceInner withProperties(CustomDomainProperties properties)

Set the properties property: Properties of the custom domain resource.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CustomDomainResourceInner

public CustomDomainResourceInner()

Creates an instance of CustomDomainResourceInner class.

Method Details

fromJson

public static CustomDomainResourceInner fromJson(JsonReader jsonReader)

Reads an instance of CustomDomainResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomDomainResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

CustomDomainResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CustomDomainResourceInner.name()

Returns:

the name value.

properties

public CustomDomainProperties properties()

Get the properties property: Properties of the custom domain resource.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CustomDomainResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CustomDomainResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public CustomDomainResourceInner withProperties(CustomDomainProperties properties)

Set the properties property: Properties of the custom domain resource.

Parameters:

properties - the properties value to set.

Returns:

the CustomDomainResourceInner object itself.

Applies to