Class OracleDbGcpKey.Builder
- java.lang.Object
-
- com.oracle.bmc.dbmulticloud.model.OracleDbGcpKey.Builder
-
- Enclosing class:
- OracleDbGcpKey
public static class OracleDbGcpKey.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OracleDbGcpKey
build()
OracleDbGcpKey.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains Oracle DB Google Key resource.OracleDbGcpKey.Builder
copy(OracleDbGcpKey model)
OracleDbGcpKey.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OracleDbGcpKey.Builder
displayName(String displayName)
Display name of Oracle DB Google Key resource.OracleDbGcpKey.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.OracleDbGcpKey.Builder
gcpKeyId(String gcpKeyId)
TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.OracleDbGcpKey.Builder
gcpKeyProperties(Object gcpKeyProperties)
Gcp Key propertiesOracleDbGcpKey.Builder
id(String id)
The OCID of the Oracle DB Google Key resource.OracleDbGcpKey.Builder
lifecycleState(OracleDbGcpKey.LifecycleState lifecycleState)
The current lifecycle state of the Oracle DB Google Key resource.OracleDbGcpKey.Builder
lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.OracleDbGcpKey.Builder
oracleDbGcpKeyRingId(String oracleDbGcpKeyRingId)
The OCID of the Oracle DB Google Cloud Key-Ring resource.OracleDbGcpKey.Builder
resourceType(String resourceType)
Key resource type.OracleDbGcpKey.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.OracleDbGcpKey.Builder
timeCreated(Date timeCreated)
Time when the Oracle DB Google Key resource was created in RFC 3339 timestamp format, e.g.OracleDbGcpKey.Builder
timeUpdated(Date timeUpdated)
Time when the Oracle DB Google Key resource was last modified, expressed in RFC 3339 timestamp format, e.g.
-
-
-
Method Detail
-
id
public OracleDbGcpKey.Builder id(String id)
The OCID of the Oracle DB Google Key resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public OracleDbGcpKey.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains Oracle DB Google Key resource.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public OracleDbGcpKey.Builder displayName(String displayName)
Display name of Oracle DB Google Key resource.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
gcpKeyId
public OracleDbGcpKey.Builder gcpKeyId(String gcpKeyId)
TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.- Parameters:
gcpKeyId
- the value to set- Returns:
- this builder
-
oracleDbGcpKeyRingId
public OracleDbGcpKey.Builder oracleDbGcpKeyRingId(String oracleDbGcpKeyRingId)
The OCID of the Oracle DB Google Cloud Key-Ring resource.- Parameters:
oracleDbGcpKeyRingId
- the value to set- Returns:
- this builder
-
lifecycleState
public OracleDbGcpKey.Builder lifecycleState(OracleDbGcpKey.LifecycleState lifecycleState)
The current lifecycle state of the Oracle DB Google Key resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public OracleDbGcpKey.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
resourceType
public OracleDbGcpKey.Builder resourceType(String resourceType)
Key resource type.- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
gcpKeyProperties
public OracleDbGcpKey.Builder gcpKeyProperties(Object gcpKeyProperties)
Gcp Key properties- Parameters:
gcpKeyProperties
- the value to set- Returns:
- this builder
-
timeCreated
public OracleDbGcpKey.Builder timeCreated(Date timeCreated)
Time when the Oracle DB Google Key resource was created in RFC 3339 timestamp format, e.g.‘2020-05-22T21:10:29.600Z’
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OracleDbGcpKey.Builder timeUpdated(Date timeUpdated)
Time when the Oracle DB Google Key resource was last modified, expressed in RFC 3339 timestamp format, e.g.‘2020-05-22T21:10:29.600Z’
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public OracleDbGcpKey.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 OracleDbGcpKey.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 OracleDbGcpKey.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 OracleDbGcpKey build()
-
copy
public OracleDbGcpKey.Builder copy(OracleDbGcpKey model)
-
-