Class 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 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).

    • Method Detail

      • 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
      • getEmailIdList

        public List<String> getEmailIdList()
        List of emailId.
        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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel