Class DatabaseToolsConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetoolsruntime.model.DatabaseToolsConnection.Builder
-
- Enclosing class:
- DatabaseToolsConnection
public static class DatabaseToolsConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseToolsConnectionbuild()DatabaseToolsConnection.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the Database Tools connection.DatabaseToolsConnection.Buildercopy(DatabaseToolsConnection model)DatabaseToolsConnection.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DatabaseToolsConnection.BuilderdisplayName(String displayName)A user-friendly name.DatabaseToolsConnection.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DatabaseToolsConnection.Builderid(String id)The OCID of the Database Tools connection.DatabaseToolsConnection.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.DatabaseToolsConnection.BuilderlifecycleState(DatabaseToolsConnection.LifecycleState lifecycleState)The current state of the Database Tools connection.DatabaseToolsConnection.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DatabaseToolsConnection.BuildertimeCreated(Date timeCreated)The time the Database Tools connection was created.DatabaseToolsConnection.BuildertimeUpdated(Date timeUpdated)The time the DatabaseToolsConnection was updated.DatabaseToolsConnection.Buildertype(ConnectionType type)The Database Tools connection type.
-
-
-
Method Detail
-
id
public DatabaseToolsConnection.Builder id(String id)
The OCID of the Database Tools connection.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public DatabaseToolsConnection.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique and can be updated. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public DatabaseToolsConnection.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the Database Tools connection.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public DatabaseToolsConnection.Builder lifecycleState(DatabaseToolsConnection.LifecycleState lifecycleState)
The current state of the Database Tools connection.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public DatabaseToolsConnection.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, this message can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public DatabaseToolsConnection.Builder timeCreated(Date timeCreated)
The time the Database Tools connection was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DatabaseToolsConnection.Builder timeUpdated(Date timeUpdated)
The time the DatabaseToolsConnection was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
definedTags
public DatabaseToolsConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
freeformTags
public DatabaseToolsConnection.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
systemTags
public DatabaseToolsConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
type
public DatabaseToolsConnection.Builder type(ConnectionType type)
The Database Tools connection type.- Parameters:
type- the value to set- Returns:
- this builder
-
build
public DatabaseToolsConnection build()
-
copy
public DatabaseToolsConnection.Builder copy(DatabaseToolsConnection model)
-
-