Package com.oracle.bmc.bds.model
Class BdsMetastoreConfiguration
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.bds.model.BdsMetastoreConfiguration
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public final class BdsMetastoreConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The metastore configuration information.
Note: Objects should always be created or deserialized using theBdsMetastoreConfiguration.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theBdsMetastoreConfiguration.Builder
, which maintain a set of all explicitly set fields calledBdsMetastoreConfiguration.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BdsMetastoreConfiguration.Builder
static class
BdsMetastoreConfiguration.LifecycleState
the lifecycle state of the metastore configuration.static class
BdsMetastoreConfiguration.MetastoreType
The type of the metastore in the metastore configuration.
-
Constructor Summary
Constructors Constructor Description BdsMetastoreConfiguration(String id, String displayName, BdsMetastoreConfiguration.MetastoreType metastoreType, String metastoreId, String bdsApiKeyId, BdsMetastoreConfiguration.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BdsMetastoreConfiguration.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getBdsApiKeyId()
The ID of BDS API Key used for metastore configuration.String
getDisplayName()
The display name of metastore configurationString
getId()
The ID of the metastore configurationBdsMetastoreConfiguration.LifecycleState
getLifecycleState()
the lifecycle state of the metastore configuration.String
getMetastoreId()
The OCID of the Data Catalog metastore.BdsMetastoreConfiguration.MetastoreType
getMetastoreType()
The type of the metastore in the metastore configuration.Date
getTimeCreated()
The time when the configuration was created, shown as an RFC 3339 formatted datetime string.Date
getTimeUpdated()
The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.int
hashCode()
BdsMetastoreConfiguration.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
BdsMetastoreConfiguration
@Deprecated @ConstructorProperties({"id","displayName","metastoreType","metastoreId","bdsApiKeyId","lifecycleState","timeCreated","timeUpdated"}) public BdsMetastoreConfiguration(String id, String displayName, BdsMetastoreConfiguration.MetastoreType metastoreType, String metastoreId, String bdsApiKeyId, BdsMetastoreConfiguration.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static BdsMetastoreConfiguration.Builder builder()
Create a new builder.
-
toBuilder
public BdsMetastoreConfiguration.Builder toBuilder()
-
getId
public String getId()
The ID of the metastore configuration- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The display name of metastore configuration- Returns:
- the value
-
getMetastoreType
public BdsMetastoreConfiguration.MetastoreType getMetastoreType()
The type of the metastore in the metastore configuration.- Returns:
- the value
-
getMetastoreId
public String getMetastoreId()
The OCID of the Data Catalog metastore.Set only if metastore’s type is EXTERNAL.
- Returns:
- the value
-
getBdsApiKeyId
public String getBdsApiKeyId()
The ID of BDS API Key used for metastore configuration.Set only if metastore’s type is EXTERNAL.
- Returns:
- the value
-
getLifecycleState
public BdsMetastoreConfiguration.LifecycleState getLifecycleState()
the lifecycle state of the metastore configuration.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time when the configuration was created, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-