Class DelegationControlSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.model.DelegationControlSummary.Builder
-
- Enclosing class:
- DelegationControlSummary
public static class DelegationControlSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelegationControlSummary
build()
DelegationControlSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegation Control.DelegationControlSummary.Builder
copy(DelegationControlSummary model)
DelegationControlSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DelegationControlSummary.Builder
displayName(String displayName)
Name of the Delegation Control.DelegationControlSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.DelegationControlSummary.Builder
id(String id)
The OCID of the Delegation Control.DelegationControlSummary.Builder
lifecycleState(DelegationControl.LifecycleState lifecycleState)
The current lifecycle state of the Delegation Control.DelegationControlSummary.Builder
lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.DelegationControlSummary.Builder
resourceType(DelegationControlResourceType resourceType)
resourceType for which the Delegation Control is applicableDelegationControlSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.DelegationControlSummary.Builder
timeCreated(Date timeCreated)
Time when the Delegation Control was created, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format, e.g.DelegationControlSummary.Builder
timeDeleted(Date timeDeleted)
Time when the Delegation Control was deleted, expressed in RFC 3339 timestamp format, e.g.DelegationControlSummary.Builder
timeUpdated(Date timeUpdated)
Time when the Delegation Control was last modified, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format, e.g.
-
-
-
Method Detail
-
id
public DelegationControlSummary.Builder id(String id)
The OCID of the Delegation Control.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public DelegationControlSummary.Builder displayName(String displayName)
Name of the Delegation Control.The name does not need to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public DelegationControlSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegation Control.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
resourceType
public DelegationControlSummary.Builder resourceType(DelegationControlResourceType resourceType)
resourceType for which the Delegation Control is applicable- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
timeCreated
public DelegationControlSummary.Builder timeCreated(Date timeCreated)
Time when the Delegation Control was created, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format, e.g.‘2020-05-22T21:10:29.600Z’.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DelegationControlSummary.Builder timeUpdated(Date timeUpdated)
Time when the Delegation Control was last modified, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format, e.g.‘2020-05-22T21:10:29.600Z’.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeDeleted
public DelegationControlSummary.Builder timeDeleted(Date timeDeleted)
Time when the Delegation Control was deleted, expressed in RFC 3339 timestamp format, e.g.‘2020-05-22T21:10:29.600Z’.
- Parameters:
timeDeleted
- the value to set- Returns:
- this builder
-
lifecycleState
public DelegationControlSummary.Builder lifecycleState(DelegationControl.LifecycleState lifecycleState)
The current lifecycle state of the Delegation Control.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public DelegationControlSummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
freeformTags
public DelegationControlSummary.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 DelegationControlSummary.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
-
systemTags
public DelegationControlSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public DelegationControlSummary build()
-
copy
public DelegationControlSummary.Builder copy(DelegationControlSummary model)
-
-