CreateSqlPoolRestorePointDefinition Class

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

Implements

public final class CreateSqlPoolRestorePointDefinition
implements JsonSerializable<CreateSqlPoolRestorePointDefinition>

Contains the information necessary to perform a create Sql pool restore point operation.

Constructor Summary

Constructor Description
CreateSqlPoolRestorePointDefinition()

Creates an instance of CreateSqlPoolRestorePointDefinition class.

Method Summary

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

Reads an instance of CreateSqlPoolRestorePointDefinition from the JsonReader.

String restorePointLabel()

Get the restorePointLabel property: The restore point label to apply.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CreateSqlPoolRestorePointDefinition withRestorePointLabel(String restorePointLabel)

Set the restorePointLabel property: The restore point label to apply.

Methods inherited from java.lang.Object

Constructor Details

CreateSqlPoolRestorePointDefinition

public CreateSqlPoolRestorePointDefinition()

Creates an instance of CreateSqlPoolRestorePointDefinition class.

Method Details

fromJson

public static CreateSqlPoolRestorePointDefinition fromJson(JsonReader jsonReader)

Reads an instance of CreateSqlPoolRestorePointDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

restorePointLabel

public String restorePointLabel()

Get the restorePointLabel property: The restore point label to apply.

Returns:

the restorePointLabel value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRestorePointLabel

public CreateSqlPoolRestorePointDefinition withRestorePointLabel(String restorePointLabel)

Set the restorePointLabel property: The restore point label to apply.

Parameters:

restorePointLabel - the restorePointLabel value to set.

Returns:

the CreateSqlPoolRestorePointDefinition object itself.

Applies to