public static class OperatorControl.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OperatorControl.Builder |
approvalRequiredOpActionList(List<String> approvalRequiredOpActionList)
List of operator actions that need explicit approval.
|
OperatorControl.Builder |
approverGroupsList(List<String> approverGroupsList)
List of user groups who can approve an access request associated with a target resource
under the governance of this operator control.
|
OperatorControl.Builder |
approversList(List<String> approversList)
List of users who can approve an access request associated with a target resource under
the governance of this operator control.
|
OperatorControl |
build() |
OperatorControl.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control.
|
OperatorControl.Builder |
copy(OperatorControl model) |
OperatorControl.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OperatorControl.Builder |
description(String description)
Description of operator control.
|
OperatorControl.Builder |
emailIdList(List<String> emailIdList)
List of emailId.
|
OperatorControl.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OperatorControl.Builder |
id(String id)
The OCID of the operator control.
|
OperatorControl.Builder |
isDefaultOperatorControl(Boolean isDefaultOperatorControl)
Whether the operator control is a default Operator Control.
|
OperatorControl.Builder |
isFullyPreApproved(Boolean isFullyPreApproved)
Whether all the operator actions have been pre-approved.
|
OperatorControl.Builder |
lastModifiedInfo(String lastModifiedInfo)
Description associated with the latest modification of the operator control.
|
OperatorControl.Builder |
lifecycleState(OperatorControlLifecycleStates lifecycleState)
The current lifecycle state of the operator control.
|
OperatorControl.Builder |
numberOfApprovers(Integer numberOfApprovers)
Number of approvers required to approve an access request.
|
OperatorControl.Builder |
operatorControlName(String operatorControlName)
Name of the operator control.
|
OperatorControl.Builder |
preApprovedOpActionList(List<String> preApprovedOpActionList)
List of pre-approved operator actions.
|
OperatorControl.Builder |
resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControl is applicable
|
OperatorControl.Builder |
systemMessage(String systemMessage)
System message that would be displayed to the operator users on accessing the target
resource under the governance of this operator control.
|
OperatorControl.Builder |
timeOfCreation(Date timeOfCreation)
Time when the operator control was created expressed in RFC
3339 timestamp format.
|
OperatorControl.Builder |
timeOfDeletion(Date timeOfDeletion)
Time when deleted expressed in RFC 3339timestamp
format.
|
OperatorControl.Builder |
timeOfModification(Date timeOfModification)
Time when the operator control was last modified expressed in RFC
3339 timestamp format.
|
public OperatorControl.Builder id(String id)
The OCID of the operator control.
id
- the value to setpublic OperatorControl.Builder operatorControlName(String operatorControlName)
Name of the operator control. The name must be unique.
operatorControlName
- the value to setpublic OperatorControl.Builder description(String description)
Description of operator control.
description
- the value to setpublic OperatorControl.Builder approversList(List<String> approversList)
List of users who can approve an access request associated with a target resource under the governance of this operator control.
approversList
- the value to setpublic OperatorControl.Builder approverGroupsList(List<String> approverGroupsList)
List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
approverGroupsList
- the value to setpublic OperatorControl.Builder preApprovedOpActionList(List<String> preApprovedOpActionList)
List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list.
preApprovedOpActionList
- the value to setpublic OperatorControl.Builder approvalRequiredOpActionList(List<String> approvalRequiredOpActionList)
List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list.
approvalRequiredOpActionList
- the value to setpublic OperatorControl.Builder isFullyPreApproved(Boolean isFullyPreApproved)
Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved.
isFullyPreApproved
- the value to setpublic OperatorControl.Builder emailIdList(List<String> emailIdList)
List of emailId.
emailIdList
- the value to setpublic OperatorControl.Builder resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControl is applicable
resourceType
- the value to setpublic OperatorControl.Builder systemMessage(String systemMessage)
System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
systemMessage
- the value to setpublic OperatorControl.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control.
compartmentId
- the value to setpublic OperatorControl.Builder lifecycleState(OperatorControlLifecycleStates lifecycleState)
The current lifecycle state of the operator control.
lifecycleState
- the value to setpublic OperatorControl.Builder timeOfCreation(Date timeOfCreation)
Time when the operator control was created expressed in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
timeOfCreation
- the value to setpublic OperatorControl.Builder timeOfModification(Date timeOfModification)
Time when the operator control was last modified expressed in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
timeOfModification
- the value to setpublic OperatorControl.Builder numberOfApprovers(Integer numberOfApprovers)
Number of approvers required to approve an access request.
numberOfApprovers
- the value to setpublic OperatorControl.Builder isDefaultOperatorControl(Boolean isDefaultOperatorControl)
Whether the operator control is a default Operator Control.
isDefaultOperatorControl
- the value to setpublic OperatorControl.Builder timeOfDeletion(Date timeOfDeletion)
Time when deleted expressed in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control.
timeOfDeletion
- the value to setpublic OperatorControl.Builder lastModifiedInfo(String lastModifiedInfo)
Description associated with the latest modification of the operator control.
lastModifiedInfo
- the value to setpublic OperatorControl.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.
freeformTags
- the value to setpublic OperatorControl.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
definedTags
- the value to setpublic OperatorControl build()
public OperatorControl.Builder copy(OperatorControl model)
Copyright © 2016–2024. All rights reserved.