CustomDomainList Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.CustomDomainList

Implements

public final class CustomDomainList
implements JsonSerializable<CustomDomainList>

Custom domains list.

Constructor Summary

Constructor Description
CustomDomainList()

Creates an instance of CustomDomainList class.

Method Summary

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

Reads an instance of CustomDomainList from the JsonReader.

String nextLink()

Get the nextLink property: The URL the client should use to fetch the next page (per server side paging).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<CustomDomainInner> value()

Get the value property: List of custom domains that bind to this resource.

CustomDomainList withNextLink(String nextLink)

Set the nextLink property: The URL the client should use to fetch the next page (per server side paging).

CustomDomainList withValue(List<CustomDomainInner> value)

Set the value property: List of custom domains that bind to this resource.

Methods inherited from java.lang.Object

Constructor Details

CustomDomainList

public CustomDomainList()

Creates an instance of CustomDomainList class.

Method Details

fromJson

public static CustomDomainList fromJson(JsonReader jsonReader)

Reads an instance of CustomDomainList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomDomainList 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 CustomDomainList.

nextLink

public String nextLink()

Get the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<CustomDomainInner> value()

Get the value property: List of custom domains that bind to this resource.

Returns:

the value value.

withNextLink

public CustomDomainList withNextLink(String nextLink)

Set the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

Parameters:

nextLink - the nextLink value to set.

Returns:

the CustomDomainList object itself.

withValue

public CustomDomainList withValue(List<CustomDomainInner> value)

Set the value property: List of custom domains that bind to this resource.

Parameters:

value - the value value to set.

Returns:

the CustomDomainList object itself.

Applies to