ReplicaList Class

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

Implements

public final class ReplicaList
implements JsonSerializable<ReplicaList>

The ReplicaList model.

Constructor Summary

Constructor Description
ReplicaList()

Creates an instance of ReplicaList class.

Method Summary

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

Reads an instance of ReplicaList 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<ReplicaInner> value()

Get the value property: List of the replica.

ReplicaList withNextLink(String nextLink)

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

ReplicaList withValue(List<ReplicaInner> value)

Set the value property: List of the replica.

Methods inherited from java.lang.Object

Constructor Details

ReplicaList

public ReplicaList()

Creates an instance of ReplicaList class.

Method Details

fromJson

public static ReplicaList fromJson(JsonReader jsonReader)

Reads an instance of ReplicaList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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<ReplicaInner> value()

Get the value property: List of the replica.

Returns:

the value value.

withNextLink

public ReplicaList 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 ReplicaList object itself.

withValue

public ReplicaList withValue(List<ReplicaInner> value)

Set the value property: List of the replica.

Parameters:

value - the value value to set.

Returns:

the ReplicaList object itself.

Applies to