Class OracleDbAwsKeyPool.Builder
- java.lang.Object
-
- com.oracle.bmc.dbmulticloud.model.OracleDbAwsKeyPool.Builder
-
- Enclosing class:
- OracleDbAwsKeyPool
public static class OracleDbAwsKeyPool.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OracleDbAwsKeyPoolbuild()OracleDbAwsKeyPool.BuildercompartmentId(String compartmentId)The Compartment OCID that contains this Oracle DB AWS Pool resource.OracleDbAwsKeyPool.Buildercopy(OracleDbAwsKeyPool model)OracleDbAwsKeyPool.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OracleDbAwsKeyPool.BuilderdisplayName(String displayName)The display name of the Oracle DB AWS key pool resource.OracleDbAwsKeyPool.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.OracleDbAwsKeyPool.Builderid(String id)The OCID of the DB AWS Key Pool resource.OracleDbAwsKeyPool.BuilderisMultiRegionKeyPool(Boolean isMultiRegionKeyPool)Indicates whether this key pool accepts only multi-region AWS KMS keys.OracleDbAwsKeyPool.BuilderisReuseAllowed(Boolean isReuseAllowed)Indicates whether AWS KMS keys in this key pool can be reused.OracleDbAwsKeyPool.BuilderlifecycleState(OracleDbAwsKeyPool.LifecycleState lifecycleState)The lifecycle state of the Oracle DB AWS Key Pool resource.OracleDbAwsKeyPool.BuilderlifecycleStateDetails(String lifecycleStateDetails)Description of the current lifecycle state in more detail.OracleDbAwsKeyPool.BuilderreplicationMetadata(ReplicationMetadata replicationMetadata)OracleDbAwsKeyPool.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OracleDbAwsKeyPool.BuildertimeCreated(Date timeCreated)Time when the DB AWS Key Pool resource was created in RFC 3339 timestamp format, e.g.OracleDbAwsKeyPool.BuildertimeUpdated(Date timeUpdated)Time when the DB AWS Key Pool resource was last modified, expressed in RFC 3339 timestamp format, e.g.
-
-
-
Method Detail
-
id
public OracleDbAwsKeyPool.Builder id(String id)
The OCID of the DB AWS Key Pool resource.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public OracleDbAwsKeyPool.Builder displayName(String displayName)
The display name of the Oracle DB AWS key pool resource.- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public OracleDbAwsKeyPool.Builder compartmentId(String compartmentId)
The Compartment OCID that contains this Oracle DB AWS Pool resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
isReuseAllowed
public OracleDbAwsKeyPool.Builder isReuseAllowed(Boolean isReuseAllowed)
Indicates whether AWS KMS keys in this key pool can be reused.- Parameters:
isReuseAllowed- the value to set- Returns:
- this builder
-
isMultiRegionKeyPool
public OracleDbAwsKeyPool.Builder isMultiRegionKeyPool(Boolean isMultiRegionKeyPool)
Indicates whether this key pool accepts only multi-region AWS KMS keys.When false, the key pool accepts only single-region AWS KMS keys.
- Parameters:
isMultiRegionKeyPool- the value to set- Returns:
- this builder
-
lifecycleState
public OracleDbAwsKeyPool.Builder lifecycleState(OracleDbAwsKeyPool.LifecycleState lifecycleState)
The lifecycle state of the Oracle DB AWS Key Pool resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public OracleDbAwsKeyPool.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.- Parameters:
lifecycleStateDetails- the value to set- Returns:
- this builder
-
replicationMetadata
public OracleDbAwsKeyPool.Builder replicationMetadata(ReplicationMetadata replicationMetadata)
-
timeCreated
public OracleDbAwsKeyPool.Builder timeCreated(Date timeCreated)
Time when the DB AWS Key Pool resource was created in RFC 3339 timestamp format, e.g.‘2020-05-23T21:10:29.600Z’.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public OracleDbAwsKeyPool.Builder timeUpdated(Date timeUpdated)
Time when the DB AWS Key Pool resource was last modified, expressed in RFC 3339 timestamp format, e.g.‘2020-05-23T21:10:29.600Z’.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public OracleDbAwsKeyPool.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 OracleDbAwsKeyPool.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.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public OracleDbAwsKeyPool.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public OracleDbAwsKeyPool build()
-
copy
public OracleDbAwsKeyPool.Builder copy(OracleDbAwsKeyPool model)
-
-