ApiPortalCustomDomainResourceInner Class

public final class ApiPortalCustomDomainResourceInner
extends ProxyResource

Custom domain of the API portal.

Constructor Summary

Constructor Description
ApiPortalCustomDomainResourceInner()

Creates an instance of ApiPortalCustomDomainResourceInner class.

Method Summary

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

Reads an instance of ApiPortalCustomDomainResourceInner 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.

ApiPortalCustomDomainProperties properties()

Get the properties property: The properties of custom domain for API portal.

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.

ApiPortalCustomDomainResourceInner withProperties(ApiPortalCustomDomainProperties properties)

Set the properties property: The properties of custom domain for API portal.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ApiPortalCustomDomainResourceInner

public ApiPortalCustomDomainResourceInner()

Creates an instance of ApiPortalCustomDomainResourceInner class.

Method Details

fromJson

public static ApiPortalCustomDomainResourceInner fromJson(JsonReader jsonReader)

Reads an instance of ApiPortalCustomDomainResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApiPortalCustomDomainResourceInner 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:

ApiPortalCustomDomainResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ApiPortalCustomDomainResourceInner.name()

Returns:

the name value.

properties

public ApiPortalCustomDomainProperties properties()

Get the properties property: The properties of custom domain for API portal.

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:

ApiPortalCustomDomainResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ApiPortalCustomDomainResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public ApiPortalCustomDomainResourceInner withProperties(ApiPortalCustomDomainProperties properties)

Set the properties property: The properties of custom domain for API portal.

Parameters:

properties - the properties value to set.

Returns:

the ApiPortalCustomDomainResourceInner object itself.

Applies to