SapVirtualInstanceList Class

  • java.lang.Object
    • com.azure.resourcemanager.workloads.models.SapVirtualInstanceList

Implements

public final class SapVirtualInstanceList
implements JsonSerializable<SapVirtualInstanceList>

Defines the collection of Virtual Instance for SAP solutions resources.

Constructor Summary

Constructor Description
SapVirtualInstanceList()

Creates an instance of SapVirtualInstanceList class.

Method Summary

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

Reads an instance of SapVirtualInstanceList from the JsonReader.

String nextLink()

Get the nextLink property: Gets the value of next link.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SapVirtualInstanceInner> value()

Get the value property: Gets the list of Virtual Instances for SAP solutions resources.

SapVirtualInstanceList withNextLink(String nextLink)

Set the nextLink property: Gets the value of next link.

SapVirtualInstanceList withValue(List<SapVirtualInstanceInner> value)

Set the value property: Gets the list of Virtual Instances for SAP solutions resources.

Methods inherited from java.lang.Object

Constructor Details

SapVirtualInstanceList

public SapVirtualInstanceList()

Creates an instance of SapVirtualInstanceList class.

Method Details

fromJson

public static SapVirtualInstanceList fromJson(JsonReader jsonReader)

Reads an instance of SapVirtualInstanceList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Gets the value of next link.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<SapVirtualInstanceInner> value()

Get the value property: Gets the list of Virtual Instances for SAP solutions resources.

Returns:

the value value.

withNextLink

public SapVirtualInstanceList withNextLink(String nextLink)

Set the nextLink property: Gets the value of next link.

Parameters:

nextLink - the nextLink value to set.

Returns:

the SapVirtualInstanceList object itself.

withValue

public SapVirtualInstanceList withValue(List<SapVirtualInstanceInner> value)

Set the value property: Gets the list of Virtual Instances for SAP solutions resources.

Parameters:

value - the value value to set.

Returns:

the SapVirtualInstanceList object itself.

Applies to