CreateMySqlObjectStorageDataTransferMediumDetails

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

Bases: oci.database_migration.models.create_my_sql_data_transfer_medium_details.CreateMySqlDataTransferMediumDetails

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

Attributes

TYPE_OBJECT_STORAGE str(object=’’) -> str
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'
__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.

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