Package com.oracle.bmc.dataflow.model
Class UpdatePoolDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.UpdatePoolDetails.Builder
-
- Enclosing class:
- UpdatePoolDetails
public static class UpdatePoolDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePoolDetails
build()
UpdatePoolDetails.Builder
configurations(List<PoolConfig> configurations)
List of PoolConfig items.UpdatePoolDetails.Builder
copy(UpdatePoolDetails model)
UpdatePoolDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdatePoolDetails.Builder
description(String description)
A user-friendly description.UpdatePoolDetails.Builder
displayName(String displayName)
A user-friendly name.UpdatePoolDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdatePoolDetails.Builder
idleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Optional timeout value in minutes used to auto stop Pools.UpdatePoolDetails.Builder
schedules(List<PoolSchedule> schedules)
A list of schedules for pool to auto start and stop.
-
-
-
Method Detail
-
displayName
public UpdatePoolDetails.Builder displayName(String displayName)
A user-friendly name.It does not have to be unique. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdatePoolDetails.Builder description(String description)
A user-friendly description.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
configurations
public UpdatePoolDetails.Builder configurations(List<PoolConfig> configurations)
List of PoolConfig items.- Parameters:
configurations
- the value to set- Returns:
- this builder
-
schedules
public UpdatePoolDetails.Builder schedules(List<PoolSchedule> schedules)
A list of schedules for pool to auto start and stop.- Parameters:
schedules
- the value to set- Returns:
- this builder
-
idleTimeoutInMinutes
public UpdatePoolDetails.Builder idleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Optional timeout value in minutes used to auto stop Pools.A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
- Parameters:
idleTimeoutInMinutes
- the value to set- Returns:
- this builder
-
freeformTags
public UpdatePoolDetails.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 UpdatePoolDetails.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
-
build
public UpdatePoolDetails build()
-
copy
public UpdatePoolDetails.Builder copy(UpdatePoolDetails model)
-
-