CreateMySqlObjectStorageDataTransferMediumDetails

class oci.database_migration.models.CreateMySqlObjectStorageDataTransferMediumDetails(**kwargs)

Bases: CreateMySqlDataTransferMediumDetails

OCI Object Storage bucket will be used to store dump files for the migration.

Attributes:

TYPE_OBJECT_STORAGE

A constant which can be used with the type property of a CreateMySqlDataTransferMediumDetails.

object_storage_bucket

Gets the object_storage_bucket of this CreateMySqlObjectStorageDataTransferMediumDetails.

type

[Required] Gets the type of this CreateMySqlDataTransferMediumDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateMySqlObjectStorageDataTransferMediumDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'

A constant which can be used with the type property of a CreateMySqlDataTransferMediumDetails. This constant has a value of “OBJECT_STORAGE”

__init__(**kwargs)

Initializes a new CreateMySqlObjectStorageDataTransferMediumDetails object with values from keyword arguments. The default value of the type attribute of this class is OBJECT_STORAGE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • type (str) – The value to assign to the type property of this CreateMySqlObjectStorageDataTransferMediumDetails. Allowed values for this property are: “OBJECT_STORAGE”

  • object_storage_bucket (oci.database_migration.models.CreateObjectStoreBucket) – The value to assign to the object_storage_bucket property of this CreateMySqlObjectStorageDataTransferMediumDetails.

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property object_storage_bucket

Gets the object_storage_bucket of this CreateMySqlObjectStorageDataTransferMediumDetails.

Returns

The object_storage_bucket of this CreateMySqlObjectStorageDataTransferMediumDetails.

Return type

oci.database_migration.models.CreateObjectStoreBucket

property type

[Required] Gets the type of this CreateMySqlDataTransferMediumDetails. Type of the data transfer medium to use.

Allowed values for this property are: “OBJECT_STORAGE”

Returns

The type of this CreateMySqlDataTransferMediumDetails.

Return type

str