📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
golden_gate
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/golden_gate/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: amazon_redshift_connection.cpython-39.opt-1.pyc
a ���fU/ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� Connection� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdd� Zedd� �Zejdd� �Zedd � �Z e jd d � �Z edd� �Z e jd d� �Z dd� Zdd� Zdd� Z dS )�AmazonRedshiftConnectionzB Represents the metadata of a Amazon Redshift Connection. �AMAZON_REDSHIFTc K s� ddddddddddddddddddddddd�| _ d d ddd dddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d | _dS )!a< Initializes a new AmazonRedshiftConnection object with values from keyword arguments. The default value of the :py:attr:`~oci.golden_gate.models.AmazonRedshiftConnection.connection_type` attribute of this class is ``AMAZON_REDSHIFT`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param connection_type: The value to assign to the connection_type property of this AmazonRedshiftConnection. Allowed values for this property are: "GOLDENGATE", "KAFKA", "KAFKA_SCHEMA_REGISTRY", "MYSQL", "JAVA_MESSAGE_SERVICE", "MICROSOFT_SQLSERVER", "OCI_OBJECT_STORAGE", "ORACLE", "AZURE_DATA_LAKE_STORAGE", "POSTGRESQL", "AZURE_SYNAPSE_ANALYTICS", "SNOWFLAKE", "AMAZON_S3", "HDFS", "ORACLE_NOSQL", "MONGODB", "AMAZON_KINESIS", "AMAZON_REDSHIFT", "DB2", "REDIS", "ELASTICSEARCH", "GENERIC", "GOOGLE_CLOUD_STORAGE", "GOOGLE_BIGQUERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type connection_type: str :param id: The value to assign to the id property of this AmazonRedshiftConnection. :type id: str :param display_name: The value to assign to the display_name property of this AmazonRedshiftConnection. :type display_name: str :param description: The value to assign to the description property of this AmazonRedshiftConnection. :type description: str :param compartment_id: The value to assign to the compartment_id property of this AmazonRedshiftConnection. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this AmazonRedshiftConnection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AmazonRedshiftConnection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AmazonRedshiftConnection. :type system_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this AmazonRedshiftConnection. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this AmazonRedshiftConnection. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this AmazonRedshiftConnection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AmazonRedshiftConnection. :type time_updated: datetime :param locks: The value to assign to the locks property of this AmazonRedshiftConnection. :type locks: list[oci.golden_gate.models.ResourceLock] :param vault_id: The value to assign to the vault_id property of this AmazonRedshiftConnection. :type vault_id: str :param key_id: The value to assign to the key_id property of this AmazonRedshiftConnection. :type key_id: str :param ingress_ips: The value to assign to the ingress_ips property of this AmazonRedshiftConnection. :type ingress_ips: list[oci.golden_gate.models.IngressIpDetails] :param nsg_ids: The value to assign to the nsg_ids property of this AmazonRedshiftConnection. :type nsg_ids: list[str] :param subnet_id: The value to assign to the subnet_id property of this AmazonRedshiftConnection. :type subnet_id: str :param routing_method: The value to assign to the routing_method property of this AmazonRedshiftConnection. Allowed values for this property are: "SHARED_SERVICE_ENDPOINT", "SHARED_DEPLOYMENT_ENDPOINT", "DEDICATED_ENDPOINT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type routing_method: str :param technology_type: The value to assign to the technology_type property of this AmazonRedshiftConnection. Allowed values for this property are: "AMAZON_REDSHIFT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type technology_type: str :param connection_url: The value to assign to the connection_url property of this AmazonRedshiftConnection. :type connection_url: str :param username: The value to assign to the username property of this AmazonRedshiftConnection. :type username: str �strzdict(str, str)zdict(str, dict(str, object))Zdatetimezlist[ResourceLock]zlist[IngressIpDetails]z list[str])Zconnection_type�idZdisplay_name�descriptionZcompartment_idZ freeform_tagsZdefined_tagsZsystem_tagsZlifecycle_stateZlifecycle_detailsZtime_createdZtime_updated�locksZvault_idZkey_idZingress_ipsZnsg_idsZ subnet_idZrouting_method�technology_type�connection_url�usernameZconnectionTyper ZdisplayNamer Z compartmentIdZfreeformTagsZdefinedTagsZ systemTagsZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedr ZvaultIdZkeyIdZ ingressIpsZnsgIdsZsubnetIdZ routingMethodZtechnologyTypeZ connectionUrlr Nr )Z swagger_typesZ attribute_mapZ_connection_typeZ_idZ _display_nameZ_descriptionZ_compartment_idZ_freeform_tagsZ _defined_tagsZ_system_tagsZ_lifecycle_stateZ_lifecycle_detailsZ _time_createdZ _time_updatedZ_locksZ _vault_idZ_key_idZ_ingress_ipsZ_nsg_idsZ _subnet_idZ_routing_method�_technology_type�_connection_url� _username)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/golden_gate/models/amazon_redshift_connection.py�__init__ s� h��z!AmazonRedshiftConnection.__init__c C s | j S )a� **[Required]** Gets the technology_type of this AmazonRedshiftConnection. The Amazon Redshift technology type. Allowed values for this property are: "AMAZON_REDSHIFT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The technology_type of this AmazonRedshiftConnection. :rtype: str )r �r r r r r � s z(AmazonRedshiftConnection.technology_typec C s dg}t ||�sd}|| _dS )z� Sets the technology_type of this AmazonRedshiftConnection. The Amazon Redshift technology type. :param technology_type: The technology_type of this AmazonRedshiftConnection. :type: str r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )a< **[Required]** Gets the connection_url of this AmazonRedshiftConnection. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' :return: The connection_url of this AmazonRedshiftConnection. :rtype: str �r r r r r r � s z'AmazonRedshiftConnection.connection_urlc C s || _ dS )a: Sets the connection_url of this AmazonRedshiftConnection. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' :param connection_url: The connection_url of this AmazonRedshiftConnection. :type: str Nr )r r r r r r � s c C s | j S )a� **[Required]** Gets the username of this AmazonRedshiftConnection. The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :return: The username of this AmazonRedshiftConnection. :rtype: str �r r r r r r � s z!AmazonRedshiftConnection.usernamec C s || _ dS )a� Sets the username of this AmazonRedshiftConnection. The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param username: The username of this AmazonRedshiftConnection. :type: str Nr )r r r r r r s c C s t | �S �N)r r r r r �__repr__ s z!AmazonRedshiftConnection.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zAmazonRedshiftConnection.__eq__c C s | |k S r r r r r r �__ne__$ s zAmazonRedshiftConnection.__ne__N)�__name__� __module__�__qualname__�__doc__ZTECHNOLOGY_TYPE_AMAZON_REDSHIFTr �propertyr �setterr r r r! r"