File: //lib/mysqlsh/lib/python3.8/site-packages/oci/opensearch/models/opensearch_cluster_pipeline.py
# coding: utf-8
# Copyright (c) 2016, 2025, 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: 20180828
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 OpensearchClusterPipeline(object):
"""
An OpenSearch cluster Pipeline resource. An cluster is set of instances that provide OpenSearch functionality in OCI Search Service with OpenSearch.
For more information, see `Cluster Pipelines`__.
__ https://docs.cloud.oracle.com/iaas/Content/search-opensearch/Concepts/ociopensearchpipeline.htm
"""
#: A constant which can be used with the lifecycle_state property of a OpensearchClusterPipeline.
#: This constant has a value of "CREATING"
LIFECYCLE_STATE_CREATING = "CREATING"
#: A constant which can be used with the lifecycle_state property of a OpensearchClusterPipeline.
#: This constant has a value of "UPDATING"
LIFECYCLE_STATE_UPDATING = "UPDATING"
#: A constant which can be used with the lifecycle_state property of a OpensearchClusterPipeline.
#: This constant has a value of "ACTIVE"
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
#: A constant which can be used with the lifecycle_state property of a OpensearchClusterPipeline.
#: This constant has a value of "DELETING"
LIFECYCLE_STATE_DELETING = "DELETING"
#: A constant which can be used with the lifecycle_state property of a OpensearchClusterPipeline.
#: This constant has a value of "DELETED"
LIFECYCLE_STATE_DELETED = "DELETED"
#: A constant which can be used with the lifecycle_state property of a OpensearchClusterPipeline.
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
#: A constant which can be used with the pipeline_mode property of a OpensearchClusterPipeline.
#: This constant has a value of "RUNNING"
PIPELINE_MODE_RUNNING = "RUNNING"
#: A constant which can be used with the pipeline_mode property of a OpensearchClusterPipeline.
#: This constant has a value of "STOPPED"
PIPELINE_MODE_STOPPED = "STOPPED"
def __init__(self, **kwargs):
"""
Initializes a new OpensearchClusterPipeline object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param id:
The value to assign to the id property of this OpensearchClusterPipeline.
:type id: str
:param display_name:
The value to assign to the display_name property of this OpensearchClusterPipeline.
:type display_name: str
:param compartment_id:
The value to assign to the compartment_id property of this OpensearchClusterPipeline.
:type compartment_id: str
:param vcn_id:
The value to assign to the vcn_id property of this OpensearchClusterPipeline.
:type vcn_id: str
:param subnet_id:
The value to assign to the subnet_id property of this OpensearchClusterPipeline.
:type subnet_id: str
:param vcn_compartment_id:
The value to assign to the vcn_compartment_id property of this OpensearchClusterPipeline.
:type vcn_compartment_id: str
:param subnet_compartment_id:
The value to assign to the subnet_compartment_id property of this OpensearchClusterPipeline.
:type subnet_compartment_id: str
:param ocpu_count:
The value to assign to the ocpu_count property of this OpensearchClusterPipeline.
:type ocpu_count: int
:param memory_gb:
The value to assign to the memory_gb property of this OpensearchClusterPipeline.
:type memory_gb: int
:param node_count:
The value to assign to the node_count property of this OpensearchClusterPipeline.
:type node_count: int
:param node_shape:
The value to assign to the node_shape property of this OpensearchClusterPipeline.
:type node_shape: str
:param pipeline_configuration_body:
The value to assign to the pipeline_configuration_body property of this OpensearchClusterPipeline.
:type pipeline_configuration_body: str
:param data_prepper_configuration_body:
The value to assign to the data_prepper_configuration_body property of this OpensearchClusterPipeline.
:type data_prepper_configuration_body: str
:param opensearch_pipeline_fqdn:
The value to assign to the opensearch_pipeline_fqdn property of this OpensearchClusterPipeline.
:type opensearch_pipeline_fqdn: str
:param opensearch_pipeline_private_ip:
The value to assign to the opensearch_pipeline_private_ip property of this OpensearchClusterPipeline.
:type opensearch_pipeline_private_ip: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this OpensearchClusterPipeline.
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 pipeline_mode:
The value to assign to the pipeline_mode property of this OpensearchClusterPipeline.
Allowed values for this property are: "RUNNING", "STOPPED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type pipeline_mode: str
:param time_created:
The value to assign to the time_created property of this OpensearchClusterPipeline.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this OpensearchClusterPipeline.
:type time_updated: datetime
:param reverse_connection_endpoints:
The value to assign to the reverse_connection_endpoints property of this OpensearchClusterPipeline.
:type reverse_connection_endpoints: list[oci.opensearch.models.OpensearchPipelineReverseConnectionEndpoint]
:param nsg_id:
The value to assign to the nsg_id property of this OpensearchClusterPipeline.
:type nsg_id: str
:param freeform_tags:
The value to assign to the freeform_tags property of this OpensearchClusterPipeline.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this OpensearchClusterPipeline.
:type defined_tags: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this OpensearchClusterPipeline.
:type system_tags: dict(str, dict(str, object))
"""
self.swagger_types = {
'id': 'str',
'display_name': 'str',
'compartment_id': 'str',
'vcn_id': 'str',
'subnet_id': 'str',
'vcn_compartment_id': 'str',
'subnet_compartment_id': 'str',
'ocpu_count': 'int',
'memory_gb': 'int',
'node_count': 'int',
'node_shape': 'str',
'pipeline_configuration_body': 'str',
'data_prepper_configuration_body': 'str',
'opensearch_pipeline_fqdn': 'str',
'opensearch_pipeline_private_ip': 'str',
'lifecycle_state': 'str',
'pipeline_mode': 'str',
'time_created': 'datetime',
'time_updated': 'datetime',
'reverse_connection_endpoints': 'list[OpensearchPipelineReverseConnectionEndpoint]',
'nsg_id': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'id': 'id',
'display_name': 'displayName',
'compartment_id': 'compartmentId',
'vcn_id': 'vcnId',
'subnet_id': 'subnetId',
'vcn_compartment_id': 'vcnCompartmentId',
'subnet_compartment_id': 'subnetCompartmentId',
'ocpu_count': 'ocpuCount',
'memory_gb': 'memoryGB',
'node_count': 'nodeCount',
'node_shape': 'nodeShape',
'pipeline_configuration_body': 'pipelineConfigurationBody',
'data_prepper_configuration_body': 'dataPrepperConfigurationBody',
'opensearch_pipeline_fqdn': 'opensearchPipelineFqdn',
'opensearch_pipeline_private_ip': 'opensearchPipelinePrivateIp',
'lifecycle_state': 'lifecycleState',
'pipeline_mode': 'pipelineMode',
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'reverse_connection_endpoints': 'reverseConnectionEndpoints',
'nsg_id': 'nsgId',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
}
self._id = None
self._display_name = None
self._compartment_id = None
self._vcn_id = None
self._subnet_id = None
self._vcn_compartment_id = None
self._subnet_compartment_id = None
self._ocpu_count = None
self._memory_gb = None
self._node_count = None
self._node_shape = None
self._pipeline_configuration_body = None
self._data_prepper_configuration_body = None
self._opensearch_pipeline_fqdn = None
self._opensearch_pipeline_private_ip = None
self._lifecycle_state = None
self._pipeline_mode = None
self._time_created = None
self._time_updated = None
self._reverse_connection_endpoints = None
self._nsg_id = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@property
def id(self):
"""
**[Required]** Gets the id of this OpensearchClusterPipeline.
The OCID of the cluster pipeline.
:return: The id of this OpensearchClusterPipeline.
:rtype: str
"""
return self._id
@id.setter
def id(self, id):
"""
Sets the id of this OpensearchClusterPipeline.
The OCID of the cluster pipeline.
:param id: The id of this OpensearchClusterPipeline.
:type: str
"""
self._id = id
@property
def display_name(self):
"""
**[Required]** Gets the display_name of this OpensearchClusterPipeline.
The name of the pipeline. Avoid entering confidential information.
:return: The display_name of this OpensearchClusterPipeline.
:rtype: str
"""
return self._display_name
@display_name.setter
def display_name(self, display_name):
"""
Sets the display_name of this OpensearchClusterPipeline.
The name of the pipeline. Avoid entering confidential information.
:param display_name: The display_name of this OpensearchClusterPipeline.
:type: str
"""
self._display_name = display_name
@property
def compartment_id(self):
"""
**[Required]** Gets the compartment_id of this OpensearchClusterPipeline.
The OCID of the compartment where the pipeline is located.
:return: The compartment_id of this OpensearchClusterPipeline.
:rtype: str
"""
return self._compartment_id
@compartment_id.setter
def compartment_id(self, compartment_id):
"""
Sets the compartment_id of this OpensearchClusterPipeline.
The OCID of the compartment where the pipeline is located.
:param compartment_id: The compartment_id of this OpensearchClusterPipeline.
:type: str
"""
self._compartment_id = compartment_id
@property
def vcn_id(self):
"""
**[Required]** Gets the vcn_id of this OpensearchClusterPipeline.
The OCID of the pipeline's VCN.
:return: The vcn_id of this OpensearchClusterPipeline.
:rtype: str
"""
return self._vcn_id
@vcn_id.setter
def vcn_id(self, vcn_id):
"""
Sets the vcn_id of this OpensearchClusterPipeline.
The OCID of the pipeline's VCN.
:param vcn_id: The vcn_id of this OpensearchClusterPipeline.
:type: str
"""
self._vcn_id = vcn_id
@property
def subnet_id(self):
"""
**[Required]** Gets the subnet_id of this OpensearchClusterPipeline.
The OCID of the pipeline's subnet.
:return: The subnet_id of this OpensearchClusterPipeline.
:rtype: str
"""
return self._subnet_id
@subnet_id.setter
def subnet_id(self, subnet_id):
"""
Sets the subnet_id of this OpensearchClusterPipeline.
The OCID of the pipeline's subnet.
:param subnet_id: The subnet_id of this OpensearchClusterPipeline.
:type: str
"""
self._subnet_id = subnet_id
@property
def vcn_compartment_id(self):
"""
**[Required]** Gets the vcn_compartment_id of this OpensearchClusterPipeline.
The OCID for the compartment where the pipeline's VCN is located.
:return: The vcn_compartment_id of this OpensearchClusterPipeline.
:rtype: str
"""
return self._vcn_compartment_id
@vcn_compartment_id.setter
def vcn_compartment_id(self, vcn_compartment_id):
"""
Sets the vcn_compartment_id of this OpensearchClusterPipeline.
The OCID for the compartment where the pipeline's VCN is located.
:param vcn_compartment_id: The vcn_compartment_id of this OpensearchClusterPipeline.
:type: str
"""
self._vcn_compartment_id = vcn_compartment_id
@property
def subnet_compartment_id(self):
"""
**[Required]** Gets the subnet_compartment_id of this OpensearchClusterPipeline.
The OCID for the compartment where the pipeline's subnet is located.
:return: The subnet_compartment_id of this OpensearchClusterPipeline.
:rtype: str
"""
return self._subnet_compartment_id
@subnet_compartment_id.setter
def subnet_compartment_id(self, subnet_compartment_id):
"""
Sets the subnet_compartment_id of this OpensearchClusterPipeline.
The OCID for the compartment where the pipeline's subnet is located.
:param subnet_compartment_id: The subnet_compartment_id of this OpensearchClusterPipeline.
:type: str
"""
self._subnet_compartment_id = subnet_compartment_id
@property
def ocpu_count(self):
"""
**[Required]** Gets the ocpu_count of this OpensearchClusterPipeline.
The number of OCPUs configured for each pipeline node.
:return: The ocpu_count of this OpensearchClusterPipeline.
:rtype: int
"""
return self._ocpu_count
@ocpu_count.setter
def ocpu_count(self, ocpu_count):
"""
Sets the ocpu_count of this OpensearchClusterPipeline.
The number of OCPUs configured for each pipeline node.
:param ocpu_count: The ocpu_count of this OpensearchClusterPipeline.
:type: int
"""
self._ocpu_count = ocpu_count
@property
def memory_gb(self):
"""
**[Required]** Gets the memory_gb of this OpensearchClusterPipeline.
The amount of memory in GB, for each pipeline node.
:return: The memory_gb of this OpensearchClusterPipeline.
:rtype: int
"""
return self._memory_gb
@memory_gb.setter
def memory_gb(self, memory_gb):
"""
Sets the memory_gb of this OpensearchClusterPipeline.
The amount of memory in GB, for each pipeline node.
:param memory_gb: The memory_gb of this OpensearchClusterPipeline.
:type: int
"""
self._memory_gb = memory_gb
@property
def node_count(self):
"""
**[Required]** Gets the node_count of this OpensearchClusterPipeline.
The number of nodes configured for the pipeline.
:return: The node_count of this OpensearchClusterPipeline.
:rtype: int
"""
return self._node_count
@node_count.setter
def node_count(self, node_count):
"""
Sets the node_count of this OpensearchClusterPipeline.
The number of nodes configured for the pipeline.
:param node_count: The node_count of this OpensearchClusterPipeline.
:type: int
"""
self._node_count = node_count
@property
def node_shape(self):
"""
Gets the node_shape of this OpensearchClusterPipeline.
The pipeline node shape.
:return: The node_shape of this OpensearchClusterPipeline.
:rtype: str
"""
return self._node_shape
@node_shape.setter
def node_shape(self, node_shape):
"""
Sets the node_shape of this OpensearchClusterPipeline.
The pipeline node shape.
:param node_shape: The node_shape of this OpensearchClusterPipeline.
:type: str
"""
self._node_shape = node_shape
@property
def pipeline_configuration_body(self):
"""
**[Required]** Gets the pipeline_configuration_body of this OpensearchClusterPipeline.
The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
:return: The pipeline_configuration_body of this OpensearchClusterPipeline.
:rtype: str
"""
return self._pipeline_configuration_body
@pipeline_configuration_body.setter
def pipeline_configuration_body(self, pipeline_configuration_body):
"""
Sets the pipeline_configuration_body of this OpensearchClusterPipeline.
The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
:param pipeline_configuration_body: The pipeline_configuration_body of this OpensearchClusterPipeline.
:type: str
"""
self._pipeline_configuration_body = pipeline_configuration_body
@property
def data_prepper_configuration_body(self):
"""
**[Required]** Gets the data_prepper_configuration_body of this OpensearchClusterPipeline.
The data prepper config in YAML format. The command accepts the data prepper config as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
:return: The data_prepper_configuration_body of this OpensearchClusterPipeline.
:rtype: str
"""
return self._data_prepper_configuration_body
@data_prepper_configuration_body.setter
def data_prepper_configuration_body(self, data_prepper_configuration_body):
"""
Sets the data_prepper_configuration_body of this OpensearchClusterPipeline.
The data prepper config in YAML format. The command accepts the data prepper config as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
:param data_prepper_configuration_body: The data_prepper_configuration_body of this OpensearchClusterPipeline.
:type: str
"""
self._data_prepper_configuration_body = data_prepper_configuration_body
@property
def opensearch_pipeline_fqdn(self):
"""
**[Required]** Gets the opensearch_pipeline_fqdn of this OpensearchClusterPipeline.
The fully qualified domain name (FQDN) for the cluster's API endpoint.
:return: The opensearch_pipeline_fqdn of this OpensearchClusterPipeline.
:rtype: str
"""
return self._opensearch_pipeline_fqdn
@opensearch_pipeline_fqdn.setter
def opensearch_pipeline_fqdn(self, opensearch_pipeline_fqdn):
"""
Sets the opensearch_pipeline_fqdn of this OpensearchClusterPipeline.
The fully qualified domain name (FQDN) for the cluster's API endpoint.
:param opensearch_pipeline_fqdn: The opensearch_pipeline_fqdn of this OpensearchClusterPipeline.
:type: str
"""
self._opensearch_pipeline_fqdn = opensearch_pipeline_fqdn
@property
def opensearch_pipeline_private_ip(self):
"""
**[Required]** Gets the opensearch_pipeline_private_ip of this OpensearchClusterPipeline.
The pipeline's private IP address.
:return: The opensearch_pipeline_private_ip of this OpensearchClusterPipeline.
:rtype: str
"""
return self._opensearch_pipeline_private_ip
@opensearch_pipeline_private_ip.setter
def opensearch_pipeline_private_ip(self, opensearch_pipeline_private_ip):
"""
Sets the opensearch_pipeline_private_ip of this OpensearchClusterPipeline.
The pipeline's private IP address.
:param opensearch_pipeline_private_ip: The opensearch_pipeline_private_ip of this OpensearchClusterPipeline.
:type: str
"""
self._opensearch_pipeline_private_ip = opensearch_pipeline_private_ip
@property
def lifecycle_state(self):
"""
**[Required]** Gets the lifecycle_state of this OpensearchClusterPipeline.
The current state of the cluster backup.
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'.
:return: The lifecycle_state of this OpensearchClusterPipeline.
:rtype: str
"""
return self._lifecycle_state
@lifecycle_state.setter
def lifecycle_state(self, lifecycle_state):
"""
Sets the lifecycle_state of this OpensearchClusterPipeline.
The current state of the cluster backup.
:param lifecycle_state: The lifecycle_state of this OpensearchClusterPipeline.
:type: str
"""
allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
@property
def pipeline_mode(self):
"""
**[Required]** Gets the pipeline_mode of this OpensearchClusterPipeline.
The current state of the pipeline.
Allowed values for this property are: "RUNNING", "STOPPED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:return: The pipeline_mode of this OpensearchClusterPipeline.
:rtype: str
"""
return self._pipeline_mode
@pipeline_mode.setter
def pipeline_mode(self, pipeline_mode):
"""
Sets the pipeline_mode of this OpensearchClusterPipeline.
The current state of the pipeline.
:param pipeline_mode: The pipeline_mode of this OpensearchClusterPipeline.
:type: str
"""
allowed_values = ["RUNNING", "STOPPED"]
if not value_allowed_none_or_none_sentinel(pipeline_mode, allowed_values):
pipeline_mode = 'UNKNOWN_ENUM_VALUE'
self._pipeline_mode = pipeline_mode
@property
def time_created(self):
"""
Gets the time_created of this OpensearchClusterPipeline.
The date and time the cluster pipeline was created. Format defined by `RFC3339`__.
__ https://tools.ietf.org/html/rfc3339
:return: The time_created of this OpensearchClusterPipeline.
:rtype: datetime
"""
return self._time_created
@time_created.setter
def time_created(self, time_created):
"""
Sets the time_created of this OpensearchClusterPipeline.
The date and time the cluster pipeline was created. Format defined by `RFC3339`__.
__ https://tools.ietf.org/html/rfc3339
:param time_created: The time_created of this OpensearchClusterPipeline.
:type: datetime
"""
self._time_created = time_created
@property
def time_updated(self):
"""
Gets the time_updated of this OpensearchClusterPipeline.
The amount of time in milliseconds since the pipeline was updated.
:return: The time_updated of this OpensearchClusterPipeline.
:rtype: datetime
"""
return self._time_updated
@time_updated.setter
def time_updated(self, time_updated):
"""
Sets the time_updated of this OpensearchClusterPipeline.
The amount of time in milliseconds since the pipeline was updated.
:param time_updated: The time_updated of this OpensearchClusterPipeline.
:type: datetime
"""
self._time_updated = time_updated
@property
def reverse_connection_endpoints(self):
"""
Gets the reverse_connection_endpoints of this OpensearchClusterPipeline.
The customer IP and the corresponding fully qualified domain name that the pipeline will connect to.
:return: The reverse_connection_endpoints of this OpensearchClusterPipeline.
:rtype: list[oci.opensearch.models.OpensearchPipelineReverseConnectionEndpoint]
"""
return self._reverse_connection_endpoints
@reverse_connection_endpoints.setter
def reverse_connection_endpoints(self, reverse_connection_endpoints):
"""
Sets the reverse_connection_endpoints of this OpensearchClusterPipeline.
The customer IP and the corresponding fully qualified domain name that the pipeline will connect to.
:param reverse_connection_endpoints: The reverse_connection_endpoints of this OpensearchClusterPipeline.
:type: list[oci.opensearch.models.OpensearchPipelineReverseConnectionEndpoint]
"""
self._reverse_connection_endpoints = reverse_connection_endpoints
@property
def nsg_id(self):
"""
Gets the nsg_id of this OpensearchClusterPipeline.
The OCID of the NSG where the pipeline private endpoint vnic will be attached.
:return: The nsg_id of this OpensearchClusterPipeline.
:rtype: str
"""
return self._nsg_id
@nsg_id.setter
def nsg_id(self, nsg_id):
"""
Sets the nsg_id of this OpensearchClusterPipeline.
The OCID of the NSG where the pipeline private endpoint vnic will be attached.
:param nsg_id: The nsg_id of this OpensearchClusterPipeline.
:type: str
"""
self._nsg_id = nsg_id
@property
def freeform_tags(self):
"""
Gets the freeform_tags of this OpensearchClusterPipeline.
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: `{\"bar-key\": \"value\"}`
:return: The freeform_tags of this OpensearchClusterPipeline.
:rtype: dict(str, str)
"""
return self._freeform_tags
@freeform_tags.setter
def freeform_tags(self, freeform_tags):
"""
Sets the freeform_tags of this OpensearchClusterPipeline.
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: `{\"bar-key\": \"value\"}`
:param freeform_tags: The freeform_tags of this OpensearchClusterPipeline.
:type: dict(str, str)
"""
self._freeform_tags = freeform_tags
@property
def defined_tags(self):
"""
Gets the defined_tags of this OpensearchClusterPipeline.
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
:return: The defined_tags of this OpensearchClusterPipeline.
:rtype: dict(str, dict(str, object))
"""
return self._defined_tags
@defined_tags.setter
def defined_tags(self, defined_tags):
"""
Sets the defined_tags of this OpensearchClusterPipeline.
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
:param defined_tags: The defined_tags of this OpensearchClusterPipeline.
:type: dict(str, dict(str, object))
"""
self._defined_tags = defined_tags
@property
def system_tags(self):
"""
Gets the system_tags of this OpensearchClusterPipeline.
Usage of system tag keys. These predefined keys are scoped to namespaces.
Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
:return: The system_tags of this OpensearchClusterPipeline.
:rtype: dict(str, dict(str, object))
"""
return self._system_tags
@system_tags.setter
def system_tags(self, system_tags):
"""
Sets the system_tags of this OpensearchClusterPipeline.
Usage of system tag keys. These predefined keys are scoped to namespaces.
Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
:param system_tags: The system_tags of this OpensearchClusterPipeline.
:type: dict(str, dict(str, object))
"""
self._system_tags = system_tags
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