Package com.oracle.bmc.bds.model
Class BdsMetastoreConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.BdsMetastoreConfiguration.Builder
-
- Enclosing class:
- BdsMetastoreConfiguration
public static class BdsMetastoreConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BdsMetastoreConfiguration.Builder
bdsApiKeyId(String bdsApiKeyId)
The ID of BDS API Key used for metastore configuration.BdsMetastoreConfiguration
build()
BdsMetastoreConfiguration.Builder
copy(BdsMetastoreConfiguration model)
BdsMetastoreConfiguration.Builder
displayName(String displayName)
The display name of metastore configurationBdsMetastoreConfiguration.Builder
id(String id)
The ID of the metastore configurationBdsMetastoreConfiguration.Builder
lifecycleState(BdsMetastoreConfiguration.LifecycleState lifecycleState)
the lifecycle state of the metastore configuration.BdsMetastoreConfiguration.Builder
metastoreId(String metastoreId)
The OCID of the Data Catalog metastore.BdsMetastoreConfiguration.Builder
metastoreType(BdsMetastoreConfiguration.MetastoreType metastoreType)
The type of the metastore in the metastore configuration.BdsMetastoreConfiguration.Builder
timeCreated(Date timeCreated)
The time when the configuration was created, shown as an RFC 3339 formatted datetime string.BdsMetastoreConfiguration.Builder
timeUpdated(Date timeUpdated)
The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
-
-
-
Method Detail
-
id
public BdsMetastoreConfiguration.Builder id(String id)
The ID of the metastore configuration- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public BdsMetastoreConfiguration.Builder displayName(String displayName)
The display name of metastore configuration- Parameters:
displayName
- the value to set- Returns:
- this builder
-
metastoreType
public BdsMetastoreConfiguration.Builder metastoreType(BdsMetastoreConfiguration.MetastoreType metastoreType)
The type of the metastore in the metastore configuration.- Parameters:
metastoreType
- the value to set- Returns:
- this builder
-
metastoreId
public BdsMetastoreConfiguration.Builder metastoreId(String metastoreId)
The OCID of the Data Catalog metastore.Set only if metastore’s type is EXTERNAL.
- Parameters:
metastoreId
- the value to set- Returns:
- this builder
-
bdsApiKeyId
public BdsMetastoreConfiguration.Builder bdsApiKeyId(String bdsApiKeyId)
The ID of BDS API Key used for metastore configuration.Set only if metastore’s type is EXTERNAL.
- Parameters:
bdsApiKeyId
- the value to set- Returns:
- this builder
-
lifecycleState
public BdsMetastoreConfiguration.Builder lifecycleState(BdsMetastoreConfiguration.LifecycleState lifecycleState)
the lifecycle state of the metastore configuration.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public BdsMetastoreConfiguration.Builder timeCreated(Date timeCreated)
The time when the configuration was created, shown as an RFC 3339 formatted datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public BdsMetastoreConfiguration.Builder timeUpdated(Date timeUpdated)
The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public BdsMetastoreConfiguration build()
-
copy
public BdsMetastoreConfiguration.Builder copy(BdsMetastoreConfiguration model)
-
-