次の方法で共有


DomainsListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.DomainsListResult

Implements

public final class DomainsListResult
implements JsonSerializable<DomainsListResult>

Result of the List Domains operation.

Constructor Summary

Constructor Description
DomainsListResult()

Creates an instance of DomainsListResult class.

Method Summary

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

Reads an instance of DomainsListResult from the JsonReader.

String nextLink()

Get the nextLink property: A link for the next page of domains.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DomainInner> value()

Get the value property: A collection of Domains.

DomainsListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of domains.

DomainsListResult withValue(List<DomainInner> value)

Set the value property: A collection of Domains.

Methods inherited from java.lang.Object

Constructor Details

DomainsListResult

public DomainsListResult()

Creates an instance of DomainsListResult class.

Method Details

fromJson

public static DomainsListResult fromJson(JsonReader jsonReader)

Reads an instance of DomainsListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: A link for the next page of domains.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<DomainInner> value()

Get the value property: A collection of Domains.

Returns:

the value value.

withNextLink

public DomainsListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of domains.

Parameters:

nextLink - the nextLink value to set.

Returns:

the DomainsListResult object itself.

withValue

public DomainsListResult withValue(List<DomainInner> value)

Set the value property: A collection of Domains.

Parameters:

value - the value value to set.

Returns:

the DomainsListResult object itself.

Applies to