你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SwapResourceListResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.SwapResourceListResultInner

Implements

public final class SwapResourceListResultInner
implements JsonSerializable<SwapResourceListResultInner>

SwapResource List with single entry to represent slot type on the specified cloud service.

Constructor Summary

Constructor Description
SwapResourceListResultInner()

Creates an instance of SwapResourceListResultInner class.

Method Summary

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

Reads an instance of SwapResourceListResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SwapResourceInner> value()

Get the value property: The value property.

SwapResourceListResultInner withValue(List<SwapResourceInner> value)

Set the value property: The value property.

Methods inherited from java.lang.Object

Constructor Details

SwapResourceListResultInner

public SwapResourceListResultInner()

Creates an instance of SwapResourceListResultInner class.

Method Details

fromJson

public static SwapResourceListResultInner fromJson(JsonReader jsonReader)

Reads an instance of SwapResourceListResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<SwapResourceInner> value()

Get the value property: The value property.

Returns:

the value value.

withValue

public SwapResourceListResultInner withValue(List<SwapResourceInner> value)

Set the value property: The value property.

Parameters:

value - the value value to set.

Returns:

the SwapResourceListResultInner object itself.

Applies to