Class CreateOperatorControlDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.operatoraccesscontrol.model.CreateOperatorControlDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class CreateOperatorControlDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
While creating the operator control, specify how operator actions are approved and the users who have the privilege of approving the operator actions associated with the Operator Control.You must specify which operator actions must be pre-approved. The rest of the operator actions associated with the Operator Control will require an explicit approval from the users selected either through the approver groups or individually.
You must name your Operator Control appropriately so it reflects the resources that will be governed by the Operator Control. Neither the Operator Controls nor their assignments to resources are visible to the Oracle operators.
Note: Objects should always be created or deserialized using theCreateOperatorControlDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateOperatorControlDetails.Builder
, which maintain a set of all explicitly set fields calledCreateOperatorControlDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateOperatorControlDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateOperatorControlDetails(String operatorControlName, String description, List<String> approversList, List<String> approverGroupsList, List<String> preApprovedOpActionList, Boolean isFullyPreApproved, ResourceTypes resourceType, Integer numberOfApprovers, List<String> emailIdList, String systemMessage, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateOperatorControlDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<String>
getApproverGroupsList()
List of user groups who can approve an access request associated with a resource governed by this operator control.List<String>
getApproversList()
List of users who can approve an access request associated with a resource governed by this operator control.String
getCompartmentId()
The OCID of the compartment that contains this operator control.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDescription()
Description of the operator control.List<String>
getEmailIdList()
List of emailId.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Boolean
getIsFullyPreApproved()
Whether all the operator actions have been pre-approved.Integer
getNumberOfApprovers()
Number of approvers required to approve an access request.String
getOperatorControlName()
Name of the operator control.List<String>
getPreApprovedOpActionList()
List of pre-approved operator actions.ResourceTypes
getResourceType()
resourceType for which the OperatorControl is applicableString
getSystemMessage()
This is the message that will be displayed to the operator users while accessing the system.int
hashCode()
CreateOperatorControlDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateOperatorControlDetails
@Deprecated @ConstructorProperties({"operatorControlName","description","approversList","approverGroupsList","preApprovedOpActionList","isFullyPreApproved","resourceType","numberOfApprovers","emailIdList","systemMessage","compartmentId","freeformTags","definedTags"}) public CreateOperatorControlDetails(String operatorControlName, String description, List<String> approversList, List<String> approverGroupsList, List<String> preApprovedOpActionList, Boolean isFullyPreApproved, ResourceTypes resourceType, Integer numberOfApprovers, List<String> emailIdList, String systemMessage, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static CreateOperatorControlDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateOperatorControlDetails.Builder toBuilder()
-
getOperatorControlName
public String getOperatorControlName()
Name of the operator control.- Returns:
- the value
-
getDescription
public String getDescription()
Description of the operator control.- Returns:
- the value
-
getApproversList
public List<String> getApproversList()
List of users who can approve an access request associated with a resource governed by this operator control.- Returns:
- the value
-
getApproverGroupsList
public List<String> getApproverGroupsList()
List of user groups who can approve an access request associated with a resource governed by this operator control.- Returns:
- the value
-
getPreApprovedOpActionList
public List<String> getPreApprovedOpActionList()
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.
- Returns:
- the value
-
getIsFullyPreApproved
public Boolean getIsFullyPreApproved()
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.
- Returns:
- the value
-
getResourceType
public ResourceTypes getResourceType()
resourceType for which the OperatorControl is applicable- Returns:
- the value
-
getNumberOfApprovers
public Integer getNumberOfApprovers()
Number of approvers required to approve an access request.- Returns:
- the value
-
getSystemMessage
public String getSystemMessage()
This is the message that will be displayed to the operator users while accessing the system.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains this operator control.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only.
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-