Class OperatorControl
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.operatoraccesscontrol.model.OperatorControl
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class OperatorControl extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Operator Access Control enables you to grant, audit, or revoke the access Oracle has to your Exadata Cloud@Customer infrastructure, and obtain audit reports of all actions taken by a human operator, in a near real-time manner.
Note: Objects should always be created or deserialized using theOperatorControl.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 theOperatorControl.Builder
, which maintain a set of all explicitly set fields calledOperatorControl.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
OperatorControl.Builder
-
Constructor Summary
Constructors Constructor Description OperatorControl(String id, String operatorControlName, String description, List<String> approversList, List<String> approverGroupsList, List<String> preApprovedOpActionList, List<String> approvalRequiredOpActionList, Boolean isFullyPreApproved, List<String> emailIdList, ResourceTypes resourceType, String systemMessage, String compartmentId, OperatorControlLifecycleStates lifecycleState, Date timeOfCreation, Date timeOfModification, Integer numberOfApprovers, Boolean isDefaultOperatorControl, Date timeOfDeletion, String lastModifiedInfo, 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 OperatorControl.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<String>
getApprovalRequiredOpActionList()
List of operator actions that need explicit approval.List<String>
getApproverGroupsList()
List of user groups who can approve an access request associated with a target resource under the governance of this operator control.List<String>
getApproversList()
List of users who can approve an access request associated with a target resource under the governance of this operator control.String
getCompartmentId()
The OCID of the compartment that contains the operator control.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDescription()
Description of 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.String
getId()
The OCID of the operator control.Boolean
getIsDefaultOperatorControl()
Whether the operator control is a default Operator Control.Boolean
getIsFullyPreApproved()
Whether all the operator actions have been pre-approved.String
getLastModifiedInfo()
Description associated with the latest modification of the operator control.OperatorControlLifecycleStates
getLifecycleState()
The current lifecycle state of the operator control.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()
System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.Date
getTimeOfCreation()
Time when the operator control was created expressed in RFC 3339 timestamp format.Date
getTimeOfDeletion()
Time when deleted expressed in RFC 3339timestamp format.Date
getTimeOfModification()
Time when the operator control was last modified expressed in RFC 3339 timestamp format.int
hashCode()
OperatorControl.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
OperatorControl
@Deprecated @ConstructorProperties({"id","operatorControlName","description","approversList","approverGroupsList","preApprovedOpActionList","approvalRequiredOpActionList","isFullyPreApproved","emailIdList","resourceType","systemMessage","compartmentId","lifecycleState","timeOfCreation","timeOfModification","numberOfApprovers","isDefaultOperatorControl","timeOfDeletion","lastModifiedInfo","freeformTags","definedTags"}) public OperatorControl(String id, String operatorControlName, String description, List<String> approversList, List<String> approverGroupsList, List<String> preApprovedOpActionList, List<String> approvalRequiredOpActionList, Boolean isFullyPreApproved, List<String> emailIdList, ResourceTypes resourceType, String systemMessage, String compartmentId, OperatorControlLifecycleStates lifecycleState, Date timeOfCreation, Date timeOfModification, Integer numberOfApprovers, Boolean isDefaultOperatorControl, Date timeOfDeletion, String lastModifiedInfo, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static OperatorControl.Builder builder()
Create a new builder.
-
toBuilder
public OperatorControl.Builder toBuilder()
-
getId
public String getId()
The OCID of the operator control.- Returns:
- the value
-
getOperatorControlName
public String getOperatorControlName()
Name of the operator control.The name must be unique.
- Returns:
- the value
-
getDescription
public String getDescription()
Description of operator control.- Returns:
- the value
-
getApproversList
public List<String> getApproversList()
List of users who can approve an access request associated with a target resource under the governance of this operator control.- Returns:
- the value
-
getApproverGroupsList
public List<String> getApproverGroupsList()
List of user groups who can approve an access request associated with a target resource under the governance of 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 automatically approved if the access request only contain operator actions in the pre-approved list.
- Returns:
- the value
-
getApprovalRequiredOpActionList
public List<String> getApprovalRequiredOpActionList()
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.
- 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
-
getSystemMessage
public String getSystemMessage()
System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the operator control.- Returns:
- the value
-
getLifecycleState
public OperatorControlLifecycleStates getLifecycleState()
The current lifecycle state of the operator control.- Returns:
- the value
-
getTimeOfCreation
public Date getTimeOfCreation()
Time when the operator control was created expressed in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Returns:
- the value
-
getTimeOfModification
public Date getTimeOfModification()
Time when the operator control was last modified expressed in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Returns:
- the value
-
getNumberOfApprovers
public Integer getNumberOfApprovers()
Number of approvers required to approve an access request.- Returns:
- the value
-
getIsDefaultOperatorControl
public Boolean getIsDefaultOperatorControl()
Whether the operator control is a default Operator Control.- Returns:
- the value
-
getTimeOfDeletion
public Date getTimeOfDeletion()
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.
- Returns:
- the value
-
getLastModifiedInfo
public String getLastModifiedInfo()
Description associated with the latest modification of the 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
-
-