@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 the CreateOperatorControlDetails.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 the CreateOperatorControlDetails.Builder
, which maintain a
set of all explicitly set fields called CreateOperatorControlDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateOperatorControlDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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 applicable
|
String |
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static CreateOperatorControlDetails.Builder builder()
Create a new builder.
public CreateOperatorControlDetails.Builder toBuilder()
public String getOperatorControlName()
Name of the operator control.
public String getDescription()
Description of the operator control.
public List<String> getApproversList()
List of users who can approve an access request associated with a resource governed by this operator control.
public List<String> getApproverGroupsList()
List of user groups who can approve an access request associated with a resource governed by this operator control.
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.
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.
public ResourceTypes getResourceType()
resourceType for which the OperatorControl is applicable
public Integer getNumberOfApprovers()
Number of approvers required to approve an access request.
public String getSystemMessage()
This is the message that will be displayed to the operator users while accessing the system.
public String getCompartmentId()
The OCID of the compartment that contains this operator control.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.