Class OperatorControlSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • operatorControlName

        public OperatorControlSummary.Builder operatorControlName​(String operatorControlName)
        Name of the operator control.
        Parameters:
        operatorControlName - the value to set
        Returns:
        this builder
      • compartmentId

        public OperatorControlSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the operator control.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • isFullyPreApproved

        public OperatorControlSummary.Builder isFullyPreApproved​(Boolean isFullyPreApproved)
        Whether all operator actions are pre-approved.

        If yes, an access request associated with a resource governed by the operator control will be automatically approved by the system.

        Parameters:
        isFullyPreApproved - the value to set
        Returns:
        this builder
      • resourceType

        public OperatorControlSummary.Builder resourceType​(ResourceTypes resourceType)
        resourceType for which the OperatorControl is applicable
        Parameters:
        resourceType - the value to set
        Returns:
        this builder
      • numberOfApprovers

        public OperatorControlSummary.Builder numberOfApprovers​(Integer numberOfApprovers)
        Number of approvers required to approve an access request.
        Parameters:
        numberOfApprovers - the value to set
        Returns:
        this builder
      • timeOfCreation

        public OperatorControlSummary.Builder timeOfCreation​(Date timeOfCreation)
        Time when the operator control was created, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format.

        Example: ‘2020-05-22T21:10:29.600Z’

        Parameters:
        timeOfCreation - the value to set
        Returns:
        this builder
      • timeOfModification

        public OperatorControlSummary.Builder timeOfModification​(Date timeOfModification)
        Time when the operator control was last modified, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format.

        Example: ‘2020-05-22T21:10:29.600Z’

        Parameters:
        timeOfModification - the value to set
        Returns:
        this builder
      • timeOfDeletion

        public OperatorControlSummary.Builder timeOfDeletion​(Date timeOfDeletion)
        Time when the operator control was deleted, expressed in RFC 3339 timestamp format.

        Example: ‘2020-05-22T21:10:29.600Z’

        Parameters:
        timeOfDeletion - the value to set
        Returns:
        this builder
      • freeformTags

        public OperatorControlSummary.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