CustomDomainResourceCollection Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.CustomDomainResourceCollection

Implements

public final class CustomDomainResourceCollection
implements JsonSerializable<CustomDomainResourceCollection>

Collection compose of a custom domain resources list and a possible link for next page.

Constructor Summary

Constructor Description
CustomDomainResourceCollection()

Creates an instance of CustomDomainResourceCollection class.

Method Summary

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

Reads an instance of CustomDomainResourceCollection from the JsonReader.

String nextLink()

Get the nextLink property: The link to next page of custom domain list.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<CustomDomainResourceInner> value()

Get the value property: The custom domain resources list.

CustomDomainResourceCollection withNextLink(String nextLink)

Set the nextLink property: The link to next page of custom domain list.

CustomDomainResourceCollection withValue(List<CustomDomainResourceInner> value)

Set the value property: The custom domain resources list.

Methods inherited from java.lang.Object

Constructor Details

CustomDomainResourceCollection

public CustomDomainResourceCollection()

Creates an instance of CustomDomainResourceCollection class.

Method Details

fromJson

public static CustomDomainResourceCollection fromJson(JsonReader jsonReader)

Reads an instance of CustomDomainResourceCollection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The link to next page of custom domain list.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: The custom domain resources list.

Returns:

the value value.

withNextLink

public CustomDomainResourceCollection withNextLink(String nextLink)

Set the nextLink property: The link to next page of custom domain list.

Parameters:

nextLink - the nextLink value to set.

Returns:

the CustomDomainResourceCollection object itself.

withValue

public CustomDomainResourceCollection withValue(List value)

Set the value property: The custom domain resources list.

Parameters:

value - the value value to set.

Returns:

the CustomDomainResourceCollection object itself.

Applies to

Azure SDK for Java

Latest