GeoBackupPolicyListResult Class

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

Implements

public final class GeoBackupPolicyListResult
implements JsonSerializable<GeoBackupPolicyListResult>

The response to a list geo backup policies request.

Constructor Summary

Constructor Description
GeoBackupPolicyListResult()

Creates an instance of GeoBackupPolicyListResult class.

Method Summary

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

Reads an instance of GeoBackupPolicyListResult from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<GeoBackupPolicyInner> value()

Get the value property: The list of geo backup policies.

GeoBackupPolicyListResult withValue(List<GeoBackupPolicyInner> value)

Set the value property: The list of geo backup policies.

Methods inherited from java.lang.Object

Constructor Details

GeoBackupPolicyListResult

public GeoBackupPolicyListResult()

Creates an instance of GeoBackupPolicyListResult class.

Method Details

fromJson

public static GeoBackupPolicyListResult fromJson(JsonReader jsonReader)

Reads an instance of GeoBackupPolicyListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<GeoBackupPolicyInner> value()

Get the value property: The list of geo backup policies.

Returns:

the value value.

withValue

public GeoBackupPolicyListResult withValue(List<GeoBackupPolicyInner> value)

Set the value property: The list of geo backup policies.

Parameters:

value - the value value to set.

Returns:

the GeoBackupPolicyListResult object itself.

Applies to