Share via


BackupShortTermRetentionPolicyListResult Class

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

Implements

public final class BackupShortTermRetentionPolicyListResult
implements JsonSerializable<BackupShortTermRetentionPolicyListResult>

A list of short term retention policies.

Constructor Summary

Constructor Description
BackupShortTermRetentionPolicyListResult()

Creates an instance of BackupShortTermRetentionPolicyListResult class.

Method Summary

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

Reads an instance of BackupShortTermRetentionPolicyListResult 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<BackupShortTermRetentionPolicyInner> value()

Get the value property: Array of results.

Methods inherited from java.lang.Object

Constructor Details

BackupShortTermRetentionPolicyListResult

public BackupShortTermRetentionPolicyListResult()

Creates an instance of BackupShortTermRetentionPolicyListResult class.

Method Details

fromJson

public static BackupShortTermRetentionPolicyListResult fromJson(JsonReader jsonReader)

Reads an instance of BackupShortTermRetentionPolicyListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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<BackupShortTermRetentionPolicyInner> value()

Get the value property: Array of results.

Returns:

the value value.

Applies to