مشاركة عبر


ManagedDatabaseMoveDefinition Class

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

Implements

public final class ManagedDatabaseMoveDefinition
implements JsonSerializable<ManagedDatabaseMoveDefinition>

Contains the information necessary to perform a managed database move.

Constructor Summary

Constructor Description
ManagedDatabaseMoveDefinition()

Creates an instance of ManagedDatabaseMoveDefinition class.

Method Summary

Modifier and Type Method and Description
String destinationManagedDatabaseId()

Get the destinationManagedDatabaseId property: The destination managed database ID.

static ManagedDatabaseMoveDefinition fromJson(JsonReader jsonReader)

Reads an instance of ManagedDatabaseMoveDefinition from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedDatabaseMoveDefinition withDestinationManagedDatabaseId(String destinationManagedDatabaseId)

Set the destinationManagedDatabaseId property: The destination managed database ID.

Methods inherited from java.lang.Object

Constructor Details

ManagedDatabaseMoveDefinition

public ManagedDatabaseMoveDefinition()

Creates an instance of ManagedDatabaseMoveDefinition class.

Method Details

destinationManagedDatabaseId

public String destinationManagedDatabaseId()

Get the destinationManagedDatabaseId property: The destination managed database ID.

Returns:

the destinationManagedDatabaseId value.

fromJson

public static ManagedDatabaseMoveDefinition fromJson(JsonReader jsonReader)

Reads an instance of ManagedDatabaseMoveDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

withDestinationManagedDatabaseId

public ManagedDatabaseMoveDefinition withDestinationManagedDatabaseId(String destinationManagedDatabaseId)

Set the destinationManagedDatabaseId property: The destination managed database ID.

Parameters:

destinationManagedDatabaseId - the destinationManagedDatabaseId value to set.

Returns:

the ManagedDatabaseMoveDefinition object itself.

Applies to