File: //lib/mysqlsh/lib/python3.8/site-packages/oci/bds/models/bds_metastore_configuration_summary.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: 20190531
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 BdsMetastoreConfigurationSummary(object):
"""
The summary of metastore configuration information.
"""
def __init__(self, **kwargs):
"""
Initializes a new BdsMetastoreConfigurationSummary 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 BdsMetastoreConfigurationSummary.
:type id: str
:param display_name:
The value to assign to the display_name property of this BdsMetastoreConfigurationSummary.
:type display_name: str
:param metastore_type:
The value to assign to the metastore_type property of this BdsMetastoreConfigurationSummary.
:type metastore_type: str
:param metastore_id:
The value to assign to the metastore_id property of this BdsMetastoreConfigurationSummary.
:type metastore_id: str
:param bds_api_key_id:
The value to assign to the bds_api_key_id property of this BdsMetastoreConfigurationSummary.
:type bds_api_key_id: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this BdsMetastoreConfigurationSummary.
:type lifecycle_state: str
:param time_created:
The value to assign to the time_created property of this BdsMetastoreConfigurationSummary.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this BdsMetastoreConfigurationSummary.
:type time_updated: datetime
"""
self.swagger_types = {
'id': 'str',
'display_name': 'str',
'metastore_type': 'str',
'metastore_id': 'str',
'bds_api_key_id': 'str',
'lifecycle_state': 'str',
'time_created': 'datetime',
'time_updated': 'datetime'
}
self.attribute_map = {
'id': 'id',
'display_name': 'displayName',
'metastore_type': 'metastoreType',
'metastore_id': 'metastoreId',
'bds_api_key_id': 'bdsApiKeyId',
'lifecycle_state': 'lifecycleState',
'time_created': 'timeCreated',
'time_updated': 'timeUpdated'
}
self._id = None
self._display_name = None
self._metastore_type = None
self._metastore_id = None
self._bds_api_key_id = None
self._lifecycle_state = None
self._time_created = None
self._time_updated = None
@property
def id(self):
"""
**[Required]** Gets the id of this BdsMetastoreConfigurationSummary.
The ID of the metastore configuration
:return: The id of this BdsMetastoreConfigurationSummary.
:rtype: str
"""
return self._id
@id.setter
def id(self, id):
"""
Sets the id of this BdsMetastoreConfigurationSummary.
The ID of the metastore configuration
:param id: The id of this BdsMetastoreConfigurationSummary.
:type: str
"""
self._id = id
@property
def display_name(self):
"""
**[Required]** Gets the display_name of this BdsMetastoreConfigurationSummary.
The display name of metastore configuration
:return: The display_name of this BdsMetastoreConfigurationSummary.
:rtype: str
"""
return self._display_name
@display_name.setter
def display_name(self, display_name):
"""
Sets the display_name of this BdsMetastoreConfigurationSummary.
The display name of metastore configuration
:param display_name: The display_name of this BdsMetastoreConfigurationSummary.
:type: str
"""
self._display_name = display_name
@property
def metastore_type(self):
"""
**[Required]** Gets the metastore_type of this BdsMetastoreConfigurationSummary.
The type of the metastore in the metastore configuration.
:return: The metastore_type of this BdsMetastoreConfigurationSummary.
:rtype: str
"""
return self._metastore_type
@metastore_type.setter
def metastore_type(self, metastore_type):
"""
Sets the metastore_type of this BdsMetastoreConfigurationSummary.
The type of the metastore in the metastore configuration.
:param metastore_type: The metastore_type of this BdsMetastoreConfigurationSummary.
:type: str
"""
self._metastore_type = metastore_type
@property
def metastore_id(self):
"""
Gets the metastore_id of this BdsMetastoreConfigurationSummary.
The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
:return: The metastore_id of this BdsMetastoreConfigurationSummary.
:rtype: str
"""
return self._metastore_id
@metastore_id.setter
def metastore_id(self, metastore_id):
"""
Sets the metastore_id of this BdsMetastoreConfigurationSummary.
The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
:param metastore_id: The metastore_id of this BdsMetastoreConfigurationSummary.
:type: str
"""
self._metastore_id = metastore_id
@property
def bds_api_key_id(self):
"""
Gets the bds_api_key_id of this BdsMetastoreConfigurationSummary.
The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
:return: The bds_api_key_id of this BdsMetastoreConfigurationSummary.
:rtype: str
"""
return self._bds_api_key_id
@bds_api_key_id.setter
def bds_api_key_id(self, bds_api_key_id):
"""
Sets the bds_api_key_id of this BdsMetastoreConfigurationSummary.
The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
:param bds_api_key_id: The bds_api_key_id of this BdsMetastoreConfigurationSummary.
:type: str
"""
self._bds_api_key_id = bds_api_key_id
@property
def lifecycle_state(self):
"""
**[Required]** Gets the lifecycle_state of this BdsMetastoreConfigurationSummary.
the lifecycle state of the metastore configuration.
:return: The lifecycle_state of this BdsMetastoreConfigurationSummary.
:rtype: str
"""
return self._lifecycle_state
@lifecycle_state.setter
def lifecycle_state(self, lifecycle_state):
"""
Sets the lifecycle_state of this BdsMetastoreConfigurationSummary.
the lifecycle state of the metastore configuration.
:param lifecycle_state: The lifecycle_state of this BdsMetastoreConfigurationSummary.
:type: str
"""
self._lifecycle_state = lifecycle_state
@property
def time_created(self):
"""
**[Required]** Gets the time_created of this BdsMetastoreConfigurationSummary.
The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
:return: The time_created of this BdsMetastoreConfigurationSummary.
:rtype: datetime
"""
return self._time_created
@time_created.setter
def time_created(self, time_created):
"""
Sets the time_created of this BdsMetastoreConfigurationSummary.
The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
:param time_created: The time_created of this BdsMetastoreConfigurationSummary.
:type: datetime
"""
self._time_created = time_created
@property
def time_updated(self):
"""
Gets the time_updated of this BdsMetastoreConfigurationSummary.
The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
:return: The time_updated of this BdsMetastoreConfigurationSummary.
:rtype: datetime
"""
return self._time_updated
@time_updated.setter
def time_updated(self, time_updated):
"""
Sets the time_updated of this BdsMetastoreConfigurationSummary.
The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
:param time_updated: The time_updated of this BdsMetastoreConfigurationSummary.
:type: datetime
"""
self._time_updated = time_updated
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