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