Class OperatorControlSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.operatoraccesscontrol.model.OperatorControlSummary.Builder
-
- Enclosing class:
- OperatorControlSummary
public static class OperatorControlSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatorControlSummary
build()
OperatorControlSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control.OperatorControlSummary.Builder
copy(OperatorControlSummary model)
OperatorControlSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OperatorControlSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OperatorControlSummary.Builder
id(String id)
The OCID of the operator control.OperatorControlSummary.Builder
isFullyPreApproved(Boolean isFullyPreApproved)
Whether all operator actions are pre-approved.OperatorControlSummary.Builder
lifecycleState(OperatorControlLifecycleStates lifecycleState)
The current lifecycle state of the operator control.OperatorControlSummary.Builder
numberOfApprovers(Integer numberOfApprovers)
Number of approvers required to approve an access request.OperatorControlSummary.Builder
operatorControlName(String operatorControlName)
Name of the operator control.OperatorControlSummary.Builder
resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControl is applicableOperatorControlSummary.Builder
timeOfCreation(Date timeOfCreation)
Time when the operator control was created, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format.OperatorControlSummary.Builder
timeOfDeletion(Date timeOfDeletion)
Time when the operator control was deleted, expressed in RFC 3339 timestamp format.OperatorControlSummary.Builder
timeOfModification(Date timeOfModification)
Time when the operator control was last modified, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format.
-
-
-
Method Detail
-
id
public OperatorControlSummary.Builder id(String id)
The OCID of the operator control.- Parameters:
id
- the value to set- Returns:
- this builder
-
operatorControlName
public OperatorControlSummary.Builder operatorControlName(String operatorControlName)
Name of the operator control.- Parameters:
operatorControlName
- the value to set- Returns:
- this builder
-
compartmentId
public OperatorControlSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
isFullyPreApproved
public OperatorControlSummary.Builder isFullyPreApproved(Boolean isFullyPreApproved)
Whether all operator actions are pre-approved.If yes, an access request associated with a resource governed by the operator control will be automatically approved by the system.
- Parameters:
isFullyPreApproved
- the value to set- Returns:
- this builder
-
resourceType
public OperatorControlSummary.Builder resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControl is applicable- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
numberOfApprovers
public OperatorControlSummary.Builder numberOfApprovers(Integer numberOfApprovers)
Number of approvers required to approve an access request.- Parameters:
numberOfApprovers
- the value to set- Returns:
- this builder
-
timeOfCreation
public OperatorControlSummary.Builder timeOfCreation(Date timeOfCreation)
Time when the operator control was created, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Parameters:
timeOfCreation
- the value to set- Returns:
- this builder
-
timeOfModification
public OperatorControlSummary.Builder timeOfModification(Date timeOfModification)
Time when the operator control was last modified, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Parameters:
timeOfModification
- the value to set- Returns:
- this builder
-
timeOfDeletion
public OperatorControlSummary.Builder timeOfDeletion(Date timeOfDeletion)
Time when the operator control was deleted, expressed in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Parameters:
timeOfDeletion
- the value to set- Returns:
- this builder
-
lifecycleState
public OperatorControlSummary.Builder lifecycleState(OperatorControlLifecycleStates lifecycleState)
The current lifecycle state of the operator control.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public OperatorControlSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only.
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public OperatorControlSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public OperatorControlSummary build()
-
copy
public OperatorControlSummary.Builder copy(OperatorControlSummary model)
-
-