Package com.oracle.bmc.database.model
Class KeyStoreSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.KeyStoreSummary.Builder
-
- Enclosing class:
- KeyStoreSummary
public static class KeyStoreSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyStoreSummary.Builder
associatedDatabases(List<KeyStoreAssociatedDatabaseDetails> associatedDatabases)
List of databases associated with the key store.KeyStoreSummary
build()
KeyStoreSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.KeyStoreSummary.Builder
copy(KeyStoreSummary model)
KeyStoreSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.KeyStoreSummary.Builder
displayName(String displayName)
The user-friendly name for the key store.KeyStoreSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.KeyStoreSummary.Builder
id(String id)
The OCID of the key store.KeyStoreSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.KeyStoreSummary.Builder
lifecycleState(KeyStoreSummary.LifecycleState lifecycleState)
The current state of the key store.KeyStoreSummary.Builder
timeCreated(Date timeCreated)
The date and time that the key store was created.KeyStoreSummary.Builder
typeDetails(KeyStoreTypeDetails typeDetails)
-
-
-
Method Detail
-
id
public KeyStoreSummary.Builder id(String id)
The OCID of the key store.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public KeyStoreSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public KeyStoreSummary.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 KeyStoreSummary.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 KeyStoreSummary.Builder lifecycleState(KeyStoreSummary.LifecycleState lifecycleState)
The current state of the key store.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public KeyStoreSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
typeDetails
public KeyStoreSummary.Builder typeDetails(KeyStoreTypeDetails typeDetails)
-
associatedDatabases
public KeyStoreSummary.Builder associatedDatabases(List<KeyStoreAssociatedDatabaseDetails> associatedDatabases)
List of databases associated with the key store.- Parameters:
associatedDatabases
- the value to set- Returns:
- this builder
-
freeformTags
public KeyStoreSummary.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 KeyStoreSummary.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 KeyStoreSummary build()
-
copy
public KeyStoreSummary.Builder copy(KeyStoreSummary model)
-
-