ElasticPoolActivityListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ElasticPoolActivityListResult

Implements

public final class ElasticPoolActivityListResult
implements JsonSerializable<ElasticPoolActivityListResult>

Represents the response to a list elastic pool activity request.

Constructor Summary

Constructor Description
ElasticPoolActivityListResult()

Creates an instance of ElasticPoolActivityListResult class.

Method Summary

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

Reads an instance of ElasticPoolActivityListResult from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ElasticPoolActivityInner> value()

Get the value property: The list of elastic pool activities.

ElasticPoolActivityListResult withValue(List<ElasticPoolActivityInner> value)

Set the value property: The list of elastic pool activities.

Methods inherited from java.lang.Object

Constructor Details

ElasticPoolActivityListResult

public ElasticPoolActivityListResult()

Creates an instance of ElasticPoolActivityListResult class.

Method Details

fromJson

public static ElasticPoolActivityListResult fromJson(JsonReader jsonReader)

Reads an instance of ElasticPoolActivityListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ElasticPoolActivityInner> value()

Get the value property: The list of elastic pool activities.

Returns:

the value value.

withValue

public ElasticPoolActivityListResult withValue(List<ElasticPoolActivityInner> value)

Set the value property: The list of elastic pool activities.

Parameters:

value - the value value to set.

Returns:

the ElasticPoolActivityListResult object itself.

Applies to