Condividi tramite


CustomHostnameSitesInner Class

public final class CustomHostnameSitesInner
extends ProxyOnlyResource

A hostname and its assigned sites.

Method Summary

Modifier and Type Method and Description
String customHostname()

Get the customHostname property: The customHostname property.

static CustomHostnameSitesInner fromJson(JsonReader jsonReader)

Reads an instance of CustomHostnameSitesInner from the JsonReader.

String id()

Get the id property: Resource Id.

String name()

Get the name property: Resource Name.

String region()

Get the region property: The region property.

List<IdentifierInner> siteResourceIds()

Get the siteResourceIds property: The siteResourceIds property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Method Details

customHostname

public String customHostname()

Get the customHostname property: The customHostname property.

Returns:

the customHostname value.

fromJson

public static CustomHostnameSitesInner fromJson(JsonReader jsonReader)

Reads an instance of CustomHostnameSitesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the CustomHostnameSitesInner.

id

public String id()

Get the id property: Resource Id.

Overrides:

CustomHostnameSitesInner.id()

Returns:

the id value.

name

public String name()

Get the name property: Resource Name.

Overrides:

CustomHostnameSitesInner.name()

Returns:

the name value.

region

public String region()

Get the region property: The region property.

Returns:

the region value.

siteResourceIds

public List<IdentifierInner> siteResourceIds()

Get the siteResourceIds property: The siteResourceIds property.

Returns:

the siteResourceIds value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CustomHostnameSitesInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

CustomHostnameSitesInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

CustomHostnameSitesInner.validate()

Applies to