Package com.oracle.bmc.dataflow.model
Class PoolSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.PoolSummary.Builder
-
- Enclosing class:
- PoolSummary
public static class PoolSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
compartmentId
public PoolSummary.Builder compartmentId(String compartmentId)
The OCID of a compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
displayName
public PoolSummary.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
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
id
public PoolSummary.Builder id(String id)
The OCID of a pool.Unique Id to indentify a dataflow pool resource.
- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public PoolSummary.Builder lifecycleState(PoolLifecycleState lifecycleState)
The current state of this pool.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
ownerPrincipalId
public PoolSummary.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.- Parameters:
ownerPrincipalId
- the value to set- Returns:
- this builder
-
ownerUserName
public 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.
- Parameters:
ownerUserName
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public 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
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public PoolSummary build()
-
copy
public PoolSummary.Builder copy(PoolSummary model)
-
-