ObjectStorageDataTransferMediumDetails

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

Bases: oci.database_migration.models.data_transfer_medium_details_v2.DataTransferMediumDetailsV2

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

Attributes

TYPE_AWS_S3 str(object=’’) -> str
TYPE_DBLINK str(object=’’) -> str
TYPE_NFS str(object=’’) -> str
TYPE_OBJECT_STORAGE str(object=’’) -> str
object_storage_bucket Gets the object_storage_bucket of this ObjectStorageDataTransferMediumDetails.
type [Required] Gets the type of this DataTransferMediumDetailsV2.

Methods

__init__(**kwargs) Initializes a new ObjectStorageDataTransferMediumDetails 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_AWS_S3 = 'AWS_S3'
TYPE_NFS = 'NFS'
TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'
__init__(**kwargs)

Initializes a new ObjectStorageDataTransferMediumDetails 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 ObjectStorageDataTransferMediumDetails. Allowed values for this property are: “DBLINK”, “OBJECT_STORAGE”, “AWS_S3”, “NFS”
  • object_storage_bucket (oci.database_migration.models.ObjectStoreBucket) – The value to assign to the object_storage_bucket property of this ObjectStorageDataTransferMediumDetails.
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 ObjectStorageDataTransferMediumDetails.

Returns:The object_storage_bucket of this ObjectStorageDataTransferMediumDetails.
Return type:oci.database_migration.models.ObjectStoreBucket
type

[Required] Gets the type of this DataTransferMediumDetailsV2. Type of the data transfer medium to use for the datapump

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

Returns:The type of this DataTransferMediumDetailsV2.
Return type:str