Package com.oracle.bmc.database.model
Class ConsoleConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.ConsoleConnection.Builder
-
- Enclosing class:
- ConsoleConnection
public static class ConsoleConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleConnectionbuild()ConsoleConnection.BuildercompartmentId(String compartmentId)The OCID of the compartment to contain the console connection.ConsoleConnection.BuilderconnectionString(String connectionString)The SSH connection string for the console connection.ConsoleConnection.Buildercopy(ConsoleConnection model)ConsoleConnection.BuilderdbNodeId(String dbNodeId)The OCID of the database node.ConsoleConnection.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ConsoleConnection.Builderfingerprint(String fingerprint)The SSH public key fingerprint for the console connection.ConsoleConnection.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ConsoleConnection.Builderid(String id)The OCID of the console connection.ConsoleConnection.BuilderlifecycleDetails(String lifecycleDetails)Information about the current lifecycle state.ConsoleConnection.BuilderlifecycleState(ConsoleConnection.LifecycleState lifecycleState)The current state of the console connection.ConsoleConnection.BuilderserviceHostKeyFingerprint(String serviceHostKeyFingerprint)The SSH public key’s fingerprint for the console connection service host.
-
-
-
Method Detail
-
id
public ConsoleConnection.Builder id(String id)
The OCID of the console connection.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ConsoleConnection.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the console connection.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
dbNodeId
public ConsoleConnection.Builder dbNodeId(String dbNodeId)
The OCID of the database node.- Parameters:
dbNodeId- the value to set- Returns:
- this builder
-
connectionString
public ConsoleConnection.Builder connectionString(String connectionString)
The SSH connection string for the console connection.- Parameters:
connectionString- the value to set- Returns:
- this builder
-
fingerprint
public ConsoleConnection.Builder fingerprint(String fingerprint)
The SSH public key fingerprint for the console connection.- Parameters:
fingerprint- the value to set- Returns:
- this builder
-
serviceHostKeyFingerprint
public ConsoleConnection.Builder serviceHostKeyFingerprint(String serviceHostKeyFingerprint)
The SSH public key’s fingerprint for the console connection service host.- Parameters:
serviceHostKeyFingerprint- the value to set- Returns:
- this builder
-
freeformTags
public ConsoleConnection.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 ConsoleConnection.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
-
lifecycleDetails
public ConsoleConnection.Builder lifecycleDetails(String lifecycleDetails)
Information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
lifecycleState
public ConsoleConnection.Builder lifecycleState(ConsoleConnection.LifecycleState lifecycleState)
The current state of the console connection.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
build
public ConsoleConnection build()
-
copy
public ConsoleConnection.Builder copy(ConsoleConnection model)
-
-