Partager via


CustomHostnameSitesInner Class

public final class CustomHostnameSitesInner
extends ProxyOnlyResource

A hostname and its assigned sites.

Constructor Summary

Constructor Description
CustomHostnameSitesInner()

Creates an instance of CustomHostnameSitesInner class.

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: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

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: The type of the resource.

void validate()

Validates the instance.

CustomHostnameSitesInner withCustomHostname(String customHostname)

Set the customHostname property: The customHostname property.

CustomHostnameSitesInner withKind(String kind)

Set the kind property: Kind of resource.

CustomHostnameSitesInner withRegion(String region)

Set the region property: The region property.

CustomHostnameSitesInner withSiteResourceIds(List<IdentifierInner> siteResourceIds)

Set the siteResourceIds property: The siteResourceIds property.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

CustomHostnameSitesInner

public CustomHostnameSitesInner()

Creates an instance of CustomHostnameSitesInner class.

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 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:

CustomHostnameSitesInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

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 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: The type of the resource.

Overrides:

CustomHostnameSitesInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

CustomHostnameSitesInner.validate()

withCustomHostname

public CustomHostnameSitesInner withCustomHostname(String customHostname)

Set the customHostname property: The customHostname property.

Parameters:

customHostname - the customHostname value to set.

Returns:

the CustomHostnameSitesInner object itself.

withKind

public CustomHostnameSitesInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

CustomHostnameSitesInner.withKind(String kind)

Parameters:

kind

withRegion

public CustomHostnameSitesInner withRegion(String region)

Set the region property: The region property.

Parameters:

region - the region value to set.

Returns:

the CustomHostnameSitesInner object itself.

withSiteResourceIds

public CustomHostnameSitesInner withSiteResourceIds(List siteResourceIds)

Set the siteResourceIds property: The siteResourceIds property.

Parameters:

siteResourceIds - the siteResourceIds value to set.

Returns:

the CustomHostnameSitesInner object itself.

Applies to