Class OracleDbGcpKeyRing.Builder
- java.lang.Object
-
- com.oracle.bmc.dbmulticloud.model.OracleDbGcpKeyRing.Builder
-
- Enclosing class:
- OracleDbGcpKeyRing
public static class OracleDbGcpKeyRing.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OracleDbGcpKeyRing
build()
OracleDbGcpKeyRing.Builder
compartmentId(String compartmentId)
The compartment OCID where the Oracle DB GCP Key Ring resource resides.OracleDbGcpKeyRing.Builder
copy(OracleDbGcpKeyRing model)
OracleDbGcpKeyRing.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OracleDbGcpKeyRing.Builder
displayName(String displayName)
Display name of DB GCP Key Ring resource.OracleDbGcpKeyRing.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.OracleDbGcpKeyRing.Builder
gcpKeyRingId(String gcpKeyRingId)
GCP Key Ring ID.OracleDbGcpKeyRing.Builder
id(String id)
The OCID of the DB GCP Key Ring resource.OracleDbGcpKeyRing.Builder
lifecycleState(OracleDbGcpKeyRing.LifecycleState lifecycleState)
The lifecycle state of the Oracle DB GCP Key Ring resource.OracleDbGcpKeyRing.Builder
lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.OracleDbGcpKeyRing.Builder
location(String location)
Location of the GCP Key Ring resource.OracleDbGcpKeyRing.Builder
oracleDbConnectorId(String oracleDbConnectorId)
The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.OracleDbGcpKeyRing.Builder
properties(Map<String,String> properties)
Oracle DB GCP Key Ring resource’s properties.OracleDbGcpKeyRing.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.OracleDbGcpKeyRing.Builder
timeCreated(Date timeCreated)
Time when the DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g.OracleDbGcpKeyRing.Builder
timeUpdated(Date timeUpdated)
Time when the DB GCP Key Ring resource was last modified, expressed in RFC 3339 timestamp format, e.g.OracleDbGcpKeyRing.Builder
type(String type)
Oracle DB GCP Key Ring resource Type.
-
-
-
Method Detail
-
id
public OracleDbGcpKeyRing.Builder id(String id)
The OCID of the DB GCP Key Ring resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
oracleDbConnectorId
public OracleDbGcpKeyRing.Builder oracleDbConnectorId(String oracleDbConnectorId)
The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.- Parameters:
oracleDbConnectorId
- the value to set- Returns:
- this builder
-
displayName
public OracleDbGcpKeyRing.Builder displayName(String displayName)
Display name of DB GCP Key Ring resource.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
gcpKeyRingId
public OracleDbGcpKeyRing.Builder gcpKeyRingId(String gcpKeyRingId)
GCP Key Ring ID.- Parameters:
gcpKeyRingId
- the value to set- Returns:
- this builder
-
compartmentId
public OracleDbGcpKeyRing.Builder compartmentId(String compartmentId)
The compartment OCID where the Oracle DB GCP Key Ring resource resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
type
public OracleDbGcpKeyRing.Builder type(String type)
Oracle DB GCP Key Ring resource Type.- Parameters:
type
- the value to set- Returns:
- this builder
-
location
public OracleDbGcpKeyRing.Builder location(String location)
Location of the GCP Key Ring resource.- Parameters:
location
- the value to set- Returns:
- this builder
-
properties
public OracleDbGcpKeyRing.Builder properties(Map<String,String> properties)
Oracle DB GCP Key Ring resource’s properties.- Parameters:
properties
- the value to set- Returns:
- this builder
-
lifecycleState
public OracleDbGcpKeyRing.Builder lifecycleState(OracleDbGcpKeyRing.LifecycleState lifecycleState)
The lifecycle state of the Oracle DB GCP Key Ring resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public OracleDbGcpKeyRing.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
timeCreated
public OracleDbGcpKeyRing.Builder timeCreated(Date timeCreated)
Time when the DB GCP Key Ring 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 OracleDbGcpKeyRing.Builder timeUpdated(Date timeUpdated)
Time when the DB GCP Key Ring 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 OracleDbGcpKeyRing.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 OracleDbGcpKeyRing.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 OracleDbGcpKeyRing.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 OracleDbGcpKeyRing build()
-
copy
public OracleDbGcpKeyRing.Builder copy(OracleDbGcpKeyRing model)
-
-