Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Pool |
build() |
Pool.Builder |
compartmentId(String compartmentId)
The OCID of a compartment.
|
Pool.Builder |
configurations(List<PoolConfig> configurations)
List of PoolConfig items.
|
Pool.Builder |
copy(Pool model) |
Pool.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Pool.Builder |
description(String description)
A user-friendly description.
|
Pool.Builder |
displayName(String displayName)
A user-friendly name.
|
Pool.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Pool.Builder |
id(String id)
The OCID of a pool.
|
Pool.Builder |
idleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Optional timeout value in minutes used to auto stop Pools.
|
Pool.Builder |
lifecycleDetails(String lifecycleDetails)
The detailed messages about the lifecycle state.
|
Pool.Builder |
lifecycleState(PoolLifecycleState lifecycleState)
The current state of this pool.
|
Pool.Builder |
ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
|
Pool.Builder |
ownerUserName(String ownerUserName)
The username of the user who created the resource.
|
Pool.Builder |
poolMetrics(PoolMetrics poolMetrics) |
Pool.Builder |
schedules(List<PoolSchedule> schedules)
A list of schedules for pool to auto start and stop.
|
Pool.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC
3339 timestamp format.
|
Pool.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was updated, expressed in RFC
3339 timestamp format.
|
public Pool.Builder compartmentId(String compartmentId)
The OCID of a compartment.
compartmentId
- the value to setpublic Pool.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 Pool.Builder description(String description)
A user-friendly description. Avoid entering confidential information.
description
- the value to setpublic Pool.Builder displayName(String displayName)
A user-friendly name. It does not have to be unique. Avoid entering confidential information.
displayName
- the value to setpublic Pool.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 Pool.Builder id(String id)
The OCID of a pool. Unique Id to indentify a dataflow pool resource.
id
- the value to setpublic Pool.Builder lifecycleDetails(String lifecycleDetails)
The detailed messages about the lifecycle state.
lifecycleDetails
- the value to setpublic Pool.Builder lifecycleState(PoolLifecycleState lifecycleState)
The current state of this pool.
lifecycleState
- the value to setpublic Pool.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
ownerPrincipalId
- the value to setpublic Pool.Builder ownerUserName(String ownerUserName)
The username of the user who created the resource. If the username of the owner does not
exist, null
will be returned and the caller should refer to the ownerPrincipalId
value instead.
ownerUserName
- the value to setpublic Pool.Builder poolMetrics(PoolMetrics poolMetrics)
public Pool.Builder configurations(List<PoolConfig> configurations)
List of PoolConfig items.
configurations
- the value to setpublic Pool.Builder schedules(List<PoolSchedule> schedules)
A list of schedules for pool to auto start and stop.
schedules
- the value to setpublic Pool.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 Pool.Builder timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC
3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
timeCreated
- the value to setpublic Pool.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated, expressed in RFC
3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
timeUpdated
- the value to setpublic Pool build()
public Pool.Builder copy(Pool model)
Copyright © 2016–2024. All rights reserved.