Package com.oracle.bmc.database.model
Class KeyStore.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.KeyStore.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyStore.Builder
associatedDatabases(List<KeyStoreAssociatedDatabaseDetails> associatedDatabases)
List of databases associated with the key store.KeyStore
build()
KeyStore.Builder
compartmentId(String compartmentId)
The OCID of the compartment.KeyStore.Builder
copy(KeyStore model)
KeyStore.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.KeyStore.Builder
displayName(String displayName)
The user-friendly name for the key store.KeyStore.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.KeyStore.Builder
id(String id)
The OCID of the key store.KeyStore.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.KeyStore.Builder
lifecycleState(KeyStore.LifecycleState lifecycleState)
The current state of the key store.KeyStore.Builder
timeCreated(Date timeCreated)
The date and time that the key store was created.KeyStore.Builder
typeDetails(KeyStoreTypeDetails typeDetails)
-
-
-
Method Detail
-
id
public KeyStore.Builder id(String id)
The OCID of the key store.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public KeyStore.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public KeyStore.Builder displayName(String displayName)
The user-friendly name for the key store.The name does not need to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public KeyStore.Builder timeCreated(Date timeCreated)
The date and time that the key store was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public KeyStore.Builder lifecycleState(KeyStore.LifecycleState lifecycleState)
The current state of the key store.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public KeyStore.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
typeDetails
public KeyStore.Builder typeDetails(KeyStoreTypeDetails typeDetails)
-
associatedDatabases
public KeyStore.Builder associatedDatabases(List<KeyStoreAssociatedDatabaseDetails> associatedDatabases)
List of databases associated with the key store.- Parameters:
associatedDatabases
- the value to set- Returns:
- this builder
-
freeformTags
public KeyStore.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public KeyStore.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public KeyStore build()
-
copy
public KeyStore.Builder copy(KeyStore model)
-
-