BuilderResourceCollection Class

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

Implements

public final class BuilderResourceCollection
implements JsonSerializable<BuilderResourceCollection>

Object that includes an array of Builder resources and a possible link for next set.

Constructor Summary

Constructor Description
BuilderResourceCollection()

Creates an instance of BuilderResourceCollection class.

Method Summary

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

Reads an instance of BuilderResourceCollection from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<BuilderResourceInner> value()

Get the value property: Collection of Builder resources.

BuilderResourceCollection withNextLink(String nextLink)

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

BuilderResourceCollection withValue(List<BuilderResourceInner> value)

Set the value property: Collection of Builder resources.

Methods inherited from java.lang.Object

Constructor Details

BuilderResourceCollection

public BuilderResourceCollection()

Creates an instance of BuilderResourceCollection class.

Method Details

fromJson

public static BuilderResourceCollection fromJson(JsonReader jsonReader)

Reads an instance of BuilderResourceCollection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: URL 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 value()

Get the value property: Collection of Builder resources.

Returns:

the value value.

withNextLink

public BuilderResourceCollection withNextLink(String nextLink)

Set the nextLink property: URL 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 BuilderResourceCollection object itself.

withValue

public BuilderResourceCollection withValue(List value)

Set the value property: Collection of Builder resources.

Parameters:

value - the value value to set.

Returns:

the BuilderResourceCollection object itself.

Applies to

Azure SDK for Java

Latest