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