public static class PoolSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PoolSummary |
build() |
PoolSummary.Builder |
compartmentId(String compartmentId)
The OCID of a compartment.
|
PoolSummary.Builder |
copy(PoolSummary model) |
PoolSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
PoolSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
PoolSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
PoolSummary.Builder |
id(String id)
The OCID of a pool.
|
PoolSummary.Builder |
lifecycleState(PoolLifecycleState lifecycleState)
The current state of this pool.
|
PoolSummary.Builder |
ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
|
PoolSummary.Builder |
ownerUserName(String ownerUserName)
The username of the user who created the resource.
|
PoolSummary.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC
3339 timestamp format.
|
PoolSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was updated, expressed in RFC
3339 timestamp format.
|
public PoolSummary.Builder compartmentId(String compartmentId)
The OCID of a compartment.
compartmentId
- the value to setpublic PoolSummary.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 PoolSummary.Builder displayName(String displayName)
A user-friendly name. It does not have to be unique. Avoid entering confidential information.
displayName
- the value to setpublic PoolSummary.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 PoolSummary.Builder id(String id)
The OCID of a pool. Unique Id to indentify a dataflow pool resource.
id
- the value to setpublic PoolSummary.Builder lifecycleState(PoolLifecycleState lifecycleState)
The current state of this pool.
lifecycleState
- the value to setpublic PoolSummary.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
ownerPrincipalId
- the value to setpublic PoolSummary.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 PoolSummary.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 PoolSummary.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 PoolSummary build()
public PoolSummary.Builder copy(PoolSummary model)
Copyright © 2016–2024. All rights reserved.