MySqlObjectStorageDataTransferMediumDetails

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

Bases: MySqlDataTransferMediumDetails

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 MySqlDataTransferMediumDetails.

object_storage_bucket

Gets the object_storage_bucket of this MySqlObjectStorageDataTransferMediumDetails.

type

[Required] Gets the type of this MySqlDataTransferMediumDetails.

Methods:

__init__(**kwargs)

Initializes a new MySqlObjectStorageDataTransferMediumDetails 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 MySqlDataTransferMediumDetails. This constant has a value of “OBJECT_STORAGE”

__init__(**kwargs)

Initializes a new MySqlObjectStorageDataTransferMediumDetails 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 MySqlObjectStorageDataTransferMediumDetails. Allowed values for this property are: “OBJECT_STORAGE”

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

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 MySqlObjectStorageDataTransferMediumDetails.

Returns

The object_storage_bucket of this MySqlObjectStorageDataTransferMediumDetails.

Return type

oci.database_migration.models.ObjectStoreBucket

property type

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

Allowed values for this property are: “OBJECT_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this MySqlDataTransferMediumDetails.

Return type

str