Package com.oracle.bmc.database.model
Class ConsoleHistory.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.ConsoleHistory.Builder
-
- Enclosing class:
- ConsoleHistory
public static class ConsoleHistory.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleHistorybuild()ConsoleHistory.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the console history.ConsoleHistory.Buildercopy(ConsoleHistory model)ConsoleHistory.BuilderdbNodeId(String dbNodeId)The OCID of the database node.ConsoleHistory.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ConsoleHistory.BuilderdisplayName(String displayName)The user-friendly name for the console history.ConsoleHistory.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ConsoleHistory.Builderid(String id)The OCID of the console history.ConsoleHistory.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ConsoleHistory.BuilderlifecycleState(ConsoleHistory.LifecycleState lifecycleState)The current state of the console history.ConsoleHistory.BuildertimeCreated(Date timeCreated)The date and time the console history was created.
-
-
-
Method Detail
-
id
public ConsoleHistory.Builder id(String id)
The OCID of the console history.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ConsoleHistory.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the console history.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
dbNodeId
public ConsoleHistory.Builder dbNodeId(String dbNodeId)
The OCID of the database node.- Parameters:
dbNodeId- the value to set- Returns:
- this builder
-
displayName
public ConsoleHistory.Builder displayName(String displayName)
The user-friendly name for the console history.The name does not need to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
freeformTags
public ConsoleHistory.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 ConsoleHistory.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
-
lifecycleState
public ConsoleHistory.Builder lifecycleState(ConsoleHistory.LifecycleState lifecycleState)
The current state of the console history.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ConsoleHistory.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public ConsoleHistory.Builder timeCreated(Date timeCreated)
The date and time the console history was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
build
public ConsoleHistory build()
-
copy
public ConsoleHistory.Builder copy(ConsoleHistory model)
-
-