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.BuilderassociatedDatabases(List<KeyStoreAssociatedDatabaseDetails> associatedDatabases)List of databases associated with the key store.KeyStore.BuilderassociatedLongTermBackupCount(Integer associatedLongTermBackupCount)Indicates the number of long term backups of Autonomous Databases associated with this backup destination.KeyStore.BuilderassociatedLongTermBackups(List<AssociatedLongTermBackup> associatedLongTermBackups)List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.KeyStorebuild()KeyStore.BuildercompartmentId(String compartmentId)The OCID of the compartment.KeyStore.Buildercopy(KeyStore model)KeyStore.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.KeyStore.BuilderdisplayName(String displayName)The user-friendly name for the key store.KeyStore.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.KeyStore.Builderid(String id)The OCID of the key store.KeyStore.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.KeyStore.BuilderlifecycleState(KeyStore.LifecycleState lifecycleState)The current state of the key store.KeyStore.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.KeyStore.BuildertimeCreated(Date timeCreated)The date and time that the key store was created.KeyStore.BuildertypeDetails(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
-
associatedLongTermBackups
public KeyStore.Builder associatedLongTermBackups(List<AssociatedLongTermBackup> associatedLongTermBackups)
List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.- Parameters:
associatedLongTermBackups- the value to set- Returns:
- this builder
-
associatedLongTermBackupCount
public KeyStore.Builder associatedLongTermBackupCount(Integer associatedLongTermBackupCount)
Indicates the number of long term backups of Autonomous Databases associated with this backup destination.- Parameters:
associatedLongTermBackupCount- 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
-
systemTags
public KeyStore.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public KeyStore build()
-
copy
public KeyStore.Builder copy(KeyStore model)
-
-