| Server IP : 162.241.203.86 / Your IP : 216.73.216.200 Web Server : Apache System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : theart99 ( 5843) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/database/models/ |
Upload File : |
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_pluggable_database_creation_type_details import CreatePluggableDatabaseCreationTypeDetails
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@init_model_state_from_kwargs
class CreatePluggableDatabaseFromRelocateDetails(CreatePluggableDatabaseCreationTypeDetails):
"""
Specifies the creation type Relocate.
Additional input 'dblinkUsername` and `dblinkUserPassword` can be provided for Relocate Operation.
If not provided, Backend will create a temporary user to perform Relocate operation.
"""
def __init__(self, **kwargs):
"""
Initializes a new CreatePluggableDatabaseFromRelocateDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.CreatePluggableDatabaseFromRelocateDetails.creation_type` attribute
of this class is ``RELOCATE_PDB`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param creation_type:
The value to assign to the creation_type property of this CreatePluggableDatabaseFromRelocateDetails.
Allowed values for this property are: "LOCAL_CLONE_PDB", "REMOTE_CLONE_PDB", "RELOCATE_PDB"
:type creation_type: str
:param dblink_username:
The value to assign to the dblink_username property of this CreatePluggableDatabaseFromRelocateDetails.
:type dblink_username: str
:param dblink_user_password:
The value to assign to the dblink_user_password property of this CreatePluggableDatabaseFromRelocateDetails.
:type dblink_user_password: str
:param source_pluggable_database_id:
The value to assign to the source_pluggable_database_id property of this CreatePluggableDatabaseFromRelocateDetails.
:type source_pluggable_database_id: str
:param source_container_database_admin_password:
The value to assign to the source_container_database_admin_password property of this CreatePluggableDatabaseFromRelocateDetails.
:type source_container_database_admin_password: str
"""
self.swagger_types = {
'creation_type': 'str',
'dblink_username': 'str',
'dblink_user_password': 'str',
'source_pluggable_database_id': 'str',
'source_container_database_admin_password': 'str'
}
self.attribute_map = {
'creation_type': 'creationType',
'dblink_username': 'dblinkUsername',
'dblink_user_password': 'dblinkUserPassword',
'source_pluggable_database_id': 'sourcePluggableDatabaseId',
'source_container_database_admin_password': 'sourceContainerDatabaseAdminPassword'
}
self._creation_type = None
self._dblink_username = None
self._dblink_user_password = None
self._source_pluggable_database_id = None
self._source_container_database_admin_password = None
self._creation_type = 'RELOCATE_PDB'
@property
def dblink_username(self):
"""
Gets the dblink_username of this CreatePluggableDatabaseFromRelocateDetails.
The name of the DB link user.
:return: The dblink_username of this CreatePluggableDatabaseFromRelocateDetails.
:rtype: str
"""
return self._dblink_username
@dblink_username.setter
def dblink_username(self, dblink_username):
"""
Sets the dblink_username of this CreatePluggableDatabaseFromRelocateDetails.
The name of the DB link user.
:param dblink_username: The dblink_username of this CreatePluggableDatabaseFromRelocateDetails.
:type: str
"""
self._dblink_username = dblink_username
@property
def dblink_user_password(self):
"""
Gets the dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails.
The DB link user password.
:return: The dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails.
:rtype: str
"""
return self._dblink_user_password
@dblink_user_password.setter
def dblink_user_password(self, dblink_user_password):
"""
Sets the dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails.
The DB link user password.
:param dblink_user_password: The dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails.
:type: str
"""
self._dblink_user_password = dblink_user_password
@property
def source_pluggable_database_id(self):
"""
**[Required]** Gets the source_pluggable_database_id of this CreatePluggableDatabaseFromRelocateDetails.
The OCID of the Source Pluggable Database.
:return: The source_pluggable_database_id of this CreatePluggableDatabaseFromRelocateDetails.
:rtype: str
"""
return self._source_pluggable_database_id
@source_pluggable_database_id.setter
def source_pluggable_database_id(self, source_pluggable_database_id):
"""
Sets the source_pluggable_database_id of this CreatePluggableDatabaseFromRelocateDetails.
The OCID of the Source Pluggable Database.
:param source_pluggable_database_id: The source_pluggable_database_id of this CreatePluggableDatabaseFromRelocateDetails.
:type: str
"""
self._source_pluggable_database_id = source_pluggable_database_id
@property
def source_container_database_admin_password(self):
"""
**[Required]** Gets the source_container_database_admin_password of this CreatePluggableDatabaseFromRelocateDetails.
The DB system administrator password of the source Container Database.
:return: The source_container_database_admin_password of this CreatePluggableDatabaseFromRelocateDetails.
:rtype: str
"""
return self._source_container_database_admin_password
@source_container_database_admin_password.setter
def source_container_database_admin_password(self, source_container_database_admin_password):
"""
Sets the source_container_database_admin_password of this CreatePluggableDatabaseFromRelocateDetails.
The DB system administrator password of the source Container Database.
:param source_container_database_admin_password: The source_container_database_admin_password of this CreatePluggableDatabaseFromRelocateDetails.
:type: str
"""
self._source_container_database_admin_password = source_container_database_admin_password
def __repr__(self):
return formatted_flat_dict(self)
def __eq__(self, other):
if other is None:
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
return not self == other