Share via


SqlPoolInfoListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.SqlPoolInfoListResult

Implements

public final class SqlPoolInfoListResult
implements JsonSerializable<SqlPoolInfoListResult>

SQL pool collection List of SQL pools.

Constructor Summary

Constructor Description
SqlPoolInfoListResult()

Creates an instance of SqlPoolInfoListResult class.

Method Summary

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

Reads an instance of SqlPoolInfoListResult from the JsonReader.

String nextLink()

Get the nextLink property: Link to the next page of results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SqlPoolInner> value()

Get the value property: List of SQL pools.

SqlPoolInfoListResult withNextLink(String nextLink)

Set the nextLink property: Link to the next page of results.

SqlPoolInfoListResult withValue(List<SqlPoolInner> value)

Set the value property: List of SQL pools.

Methods inherited from java.lang.Object

Constructor Details

SqlPoolInfoListResult

public SqlPoolInfoListResult()

Creates an instance of SqlPoolInfoListResult class.

Method Details

fromJson

public static SqlPoolInfoListResult fromJson(JsonReader jsonReader)

Reads an instance of SqlPoolInfoListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link to the next page of results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<SqlPoolInner> value()

Get the value property: List of SQL pools.

Returns:

the value value.

withNextLink

public SqlPoolInfoListResult withNextLink(String nextLink)

Set the nextLink property: Link to the next page of results.

Parameters:

nextLink - the nextLink value to set.

Returns:

the SqlPoolInfoListResult object itself.

withValue

public SqlPoolInfoListResult withValue(List<SqlPoolInner> value)

Set the value property: List of SQL pools.

Parameters:

value - the value value to set.

Returns:

the SqlPoolInfoListResult object itself.

Applies to