PatchCollection Class

  • java.lang.Object
    • com.azure.resourcemanager.appcontainers.models.PatchCollection

Implements

public final class PatchCollection
implements JsonSerializable<PatchCollection>

Container App patch collection.

Constructor Summary

Constructor Description
PatchCollection()

Creates an instance of PatchCollection class.

Method Summary

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

Reads an instance of PatchCollection from the JsonReader.

String nextLink()

Get the nextLink property: the link to the next page of items.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ContainerAppsPatchResourceInner> value()

Get the value property: Collection of patch resources.

PatchCollection withNextLink(String nextLink)

Set the nextLink property: the link to the next page of items.

PatchCollection withValue(List<ContainerAppsPatchResourceInner> value)

Set the value property: Collection of patch resources.

Methods inherited from java.lang.Object

Constructor Details

PatchCollection

public PatchCollection()

Creates an instance of PatchCollection class.

Method Details

fromJson

public static PatchCollection fromJson(JsonReader jsonReader)

Reads an instance of PatchCollection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PatchCollection if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

nextLink

public String nextLink()

Get the nextLink property: the link to the next page of items.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ContainerAppsPatchResourceInner> value()

Get the value property: Collection of patch resources.

Returns:

the value value.

withNextLink

public PatchCollection withNextLink(String nextLink)

Set the nextLink property: the link to the next page of items.

Parameters:

nextLink - the nextLink value to set.

Returns:

the PatchCollection object itself.

withValue

public PatchCollection withValue(List<ContainerAppsPatchResourceInner> value)

Set the value property: Collection of patch resources.

Parameters:

value - the value value to set.

Returns:

the PatchCollection object itself.

Applies to