public static class CreatePoolDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public CreatePoolDetails.Builder compartmentId(String compartmentId)
The OCID of a compartment.
compartmentId
- the value to setpublic CreatePoolDetails.Builder displayName(String displayName)
A user-friendly name. It does not have to be unique. Avoid entering confidential information.
displayName
- the value to setpublic CreatePoolDetails.Builder description(String description)
A user-friendly description. Avoid entering confidential information.
description
- the value to setpublic CreatePoolDetails.Builder configurations(List<PoolConfig> configurations)
List of PoolConfig items.
configurations
- the value to setpublic CreatePoolDetails.Builder schedules(List<PoolSchedule> schedules)
A list of schedules for pool to auto start and stop.
schedules
- the value to setpublic 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.
idleTimeoutInMinutes
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreatePoolDetails build()
public CreatePoolDetails.Builder copy(CreatePoolDetails model)
Copyright © 2016–2024. All rights reserved.