Class CreateOperatorControlDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.operatoraccesscontrol.model.CreateOperatorControlDetails.Builder
-
- Enclosing class:
- CreateOperatorControlDetails
public static class CreateOperatorControlDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOperatorControlDetails.BuilderapproverGroupsList(List<String> approverGroupsList)List of user groups who can approve an access request associated with a resource governed by this operator control.CreateOperatorControlDetails.BuilderapproversList(List<String> approversList)List of users who can approve an access request associated with a resource governed by this operator control.CreateOperatorControlDetailsbuild()CreateOperatorControlDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this operator control.CreateOperatorControlDetails.Buildercopy(CreateOperatorControlDetails model)CreateOperatorControlDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateOperatorControlDetails.Builderdescription(String description)Description of the operator control.CreateOperatorControlDetails.BuilderemailIdList(List<String> emailIdList)List of emailId.CreateOperatorControlDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateOperatorControlDetails.BuilderisFullyPreApproved(Boolean isFullyPreApproved)Whether all the operator actions have been pre-approved.CreateOperatorControlDetails.BuildernumberOfApprovers(Integer numberOfApprovers)Number of approvers required to approve an access request.CreateOperatorControlDetails.BuilderoperatorControlName(String operatorControlName)Name of the operator control.CreateOperatorControlDetails.BuilderpreApprovedOpActionList(List<String> preApprovedOpActionList)List of pre-approved operator actions.CreateOperatorControlDetails.BuilderresourceType(ResourceTypes resourceType)resourceType for which the OperatorControl is applicableCreateOperatorControlDetails.BuildersystemMessage(String systemMessage)This is the message that will be displayed to the operator users while accessing the system.
-
-
-
Method Detail
-
operatorControlName
public CreateOperatorControlDetails.Builder operatorControlName(String operatorControlName)
Name of the operator control.- Parameters:
operatorControlName- the value to set- Returns:
- this builder
-
description
public CreateOperatorControlDetails.Builder description(String description)
Description of the operator control.- Parameters:
description- the value to set- Returns:
- this builder
-
approversList
public CreateOperatorControlDetails.Builder approversList(List<String> approversList)
List of users who can approve an access request associated with a resource governed by this operator control.- Parameters:
approversList- the value to set- Returns:
- this builder
-
approverGroupsList
public CreateOperatorControlDetails.Builder approverGroupsList(List<String> approverGroupsList)
List of user groups who can approve an access request associated with a resource governed by this operator control.- Parameters:
approverGroupsList- the value to set- Returns:
- this builder
-
preApprovedOpActionList
public CreateOperatorControlDetails.Builder preApprovedOpActionList(List<String> preApprovedOpActionList)
List of pre-approved operator actions.Access requests associated with a resource governed by this operator control will be auto-approved if the access request only contain operator actions in the pre-approved list.
- Parameters:
preApprovedOpActionList- the value to set- Returns:
- this builder
-
isFullyPreApproved
public CreateOperatorControlDetails.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.
- Parameters:
isFullyPreApproved- the value to set- Returns:
- this builder
-
resourceType
public CreateOperatorControlDetails.Builder resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControl is applicable- Parameters:
resourceType- the value to set- Returns:
- this builder
-
numberOfApprovers
public CreateOperatorControlDetails.Builder numberOfApprovers(Integer numberOfApprovers)
Number of approvers required to approve an access request.- Parameters:
numberOfApprovers- the value to set- Returns:
- this builder
-
emailIdList
public CreateOperatorControlDetails.Builder emailIdList(List<String> emailIdList)
List of emailId.- Parameters:
emailIdList- the value to set- Returns:
- this builder
-
systemMessage
public CreateOperatorControlDetails.Builder systemMessage(String systemMessage)
This is the message that will be displayed to the operator users while accessing the system.- Parameters:
systemMessage- the value to set- Returns:
- this builder
-
compartmentId
public CreateOperatorControlDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this operator control.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
freeformTags
public CreateOperatorControlDetails.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 CreateOperatorControlDetails.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 CreateOperatorControlDetails build()
-
copy
public CreateOperatorControlDetails.Builder copy(CreateOperatorControlDetails model)
-
-