Megosztás a következőn keresztül:


CapabilitiesListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.CapabilitiesListResult

Implements

public final class CapabilitiesListResult
implements JsonSerializable<CapabilitiesListResult>

The response containing list of capabilities.

Constructor Summary

Constructor Description
CapabilitiesListResult()

Creates an instance of CapabilitiesListResult class.

Method Summary

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

Reads an instance of CapabilitiesListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URI to fetch the next page of capabilities.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<Capabilities> value()

Get the value property: The list of capabilities.

CapabilitiesListResult withNextLink(String nextLink)

Set the nextLink property: The URI to fetch the next page of capabilities.

CapabilitiesListResult withValue(List<Capabilities> value)

Set the value property: The list of capabilities.

Methods inherited from java.lang.Object

Constructor Details

CapabilitiesListResult

public CapabilitiesListResult()

Creates an instance of CapabilitiesListResult class.

Method Details

fromJson

public static CapabilitiesListResult fromJson(JsonReader jsonReader)

Reads an instance of CapabilitiesListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URI to fetch the next page of capabilities.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<Capabilities> value()

Get the value property: The list of capabilities.

Returns:

the value value.

withNextLink

public CapabilitiesListResult withNextLink(String nextLink)

Set the nextLink property: The URI to fetch the next page of capabilities.

Parameters:

nextLink - the nextLink value to set.

Returns:

the CapabilitiesListResult object itself.

withValue

public CapabilitiesListResult withValue(List<Capabilities> value)

Set the value property: The list of capabilities.

Parameters:

value - the value value to set.

Returns:

the CapabilitiesListResult object itself.

Applies to