CreateOracleAwsS3DataTransferMediumDetails¶
-
class
oci.database_migration.models.
CreateOracleAwsS3DataTransferMediumDetails
(**kwargs)¶ Bases:
oci.database_migration.models.create_oracle_data_transfer_medium_details.CreateOracleDataTransferMediumDetails
AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported for source Connection resources with RDS_ORACLE type.
Attributes
TYPE_AWS_S3
str(object=’’) -> str TYPE_DBLINK
str(object=’’) -> str TYPE_NFS
str(object=’’) -> str TYPE_OBJECT_STORAGE
str(object=’’) -> str access_key_id
Gets the access_key_id of this CreateOracleAwsS3DataTransferMediumDetails. name
Gets the name of this CreateOracleAwsS3DataTransferMediumDetails. object_storage_bucket
Gets the object_storage_bucket of this CreateOracleAwsS3DataTransferMediumDetails. region
Gets the region of this CreateOracleAwsS3DataTransferMediumDetails. secret_access_key
Gets the secret_access_key of this CreateOracleAwsS3DataTransferMediumDetails. type
[Required] Gets the type of this CreateOracleDataTransferMediumDetails. Methods
__init__
(**kwargs)Initializes a new CreateOracleAwsS3DataTransferMediumDetails 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_DBLINK
= 'DBLINK'¶
-
TYPE_NFS
= 'NFS'¶
-
TYPE_OBJECT_STORAGE
= 'OBJECT_STORAGE'¶
-
__init__
(**kwargs)¶ Initializes a new CreateOracleAwsS3DataTransferMediumDetails object with values from keyword arguments. The default value of the
type
attribute of this class isAWS_S3
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 CreateOracleAwsS3DataTransferMediumDetails. Allowed values for this property are: “DBLINK”, “OBJECT_STORAGE”, “AWS_S3”, “NFS”
- name (str) – The value to assign to the name property of this CreateOracleAwsS3DataTransferMediumDetails.
- region (str) – The value to assign to the region property of this CreateOracleAwsS3DataTransferMediumDetails.
- access_key_id (str) – The value to assign to the access_key_id property of this CreateOracleAwsS3DataTransferMediumDetails.
- secret_access_key (str) – The value to assign to the secret_access_key property of this CreateOracleAwsS3DataTransferMediumDetails.
- object_storage_bucket (oci.database_migration.models.ObjectStoreBucket) – The value to assign to the object_storage_bucket property of this CreateOracleAwsS3DataTransferMediumDetails.
-
access_key_id
¶ Gets the access_key_id of this CreateOracleAwsS3DataTransferMediumDetails. AWS access key credentials identifier Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
Returns: The access_key_id of this CreateOracleAwsS3DataTransferMediumDetails. Return type: str
-
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.
-
name
¶ Gets the name of this CreateOracleAwsS3DataTransferMediumDetails. S3 bucket name.
Returns: The name of this CreateOracleAwsS3DataTransferMediumDetails. Return type: str
-
object_storage_bucket
¶ Gets the object_storage_bucket of this CreateOracleAwsS3DataTransferMediumDetails.
Returns: The object_storage_bucket of this CreateOracleAwsS3DataTransferMediumDetails. Return type: oci.database_migration.models.ObjectStoreBucket
-
region
¶ Gets the region of this CreateOracleAwsS3DataTransferMediumDetails. AWS region code where the S3 bucket is located. Region code should match the documented available regions: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
Returns: The region of this CreateOracleAwsS3DataTransferMediumDetails. Return type: str
-
secret_access_key
¶ Gets the secret_access_key of this CreateOracleAwsS3DataTransferMediumDetails. AWS secret access key credentials Details: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
Returns: The secret_access_key of this CreateOracleAwsS3DataTransferMediumDetails. Return type: str
-
type
¶ [Required] Gets the type of this CreateOracleDataTransferMediumDetails. Type of the data transfer medium to use.
Allowed values for this property are: “DBLINK”, “OBJECT_STORAGE”, “AWS_S3”, “NFS”
Returns: The type of this CreateOracleDataTransferMediumDetails. Return type: str
-