Compartilhar via


SqlPoolUsageListResult Class

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

Implements

public final class SqlPoolUsageListResult
implements JsonSerializable<SqlPoolUsageListResult>

The response to a list Sql pool usages request.

Constructor Summary

Constructor Description
SqlPoolUsageListResult()

Creates an instance of SqlPoolUsageListResult class.

Method Summary

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

Reads an instance of SqlPoolUsageListResult from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SqlPoolUsageInner> value()

Get the value property: The list of usages for the Sql pool.

SqlPoolUsageListResult withValue(List<SqlPoolUsageInner> value)

Set the value property: The list of usages for the Sql pool.

Methods inherited from java.lang.Object

Constructor Details

SqlPoolUsageListResult

public SqlPoolUsageListResult()

Creates an instance of SqlPoolUsageListResult class.

Method Details

fromJson

public static SqlPoolUsageListResult fromJson(JsonReader jsonReader)

Reads an instance of SqlPoolUsageListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlPoolUsageListResult 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: Link to retrieve 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<SqlPoolUsageInner> value()

Get the value property: The list of usages for the Sql pool.

Returns:

the value value.

withValue

public SqlPoolUsageListResult withValue(List<SqlPoolUsageInner> value)

Set the value property: The list of usages for the Sql pool.

Parameters:

value - the value value to set.

Returns:

the SqlPoolUsageListResult object itself.

Applies to