Class PrivilegedApiControl.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public PrivilegedApiControl.Builder displayName​(String displayName)
        Name of the privilegedApi control.

        The name must be unique.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public PrivilegedApiControl.Builder description​(String description)
        Description of privilegedApi control.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • notificationTopicId

        public PrivilegedApiControl.Builder notificationTopicId​(String notificationTopicId)
        The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.
        Parameters:
        notificationTopicId - the value to set
        Returns:
        this builder
      • approverGroupIdList

        public PrivilegedApiControl.Builder approverGroupIdList​(List<String> approverGroupIdList)
        List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
        Parameters:
        approverGroupIdList - the value to set
        Returns:
        this builder
      • resourceType

        public PrivilegedApiControl.Builder resourceType​(String resourceType)
        resourceType for which the PrivilegedApiControl is applicable
        Parameters:
        resourceType - the value to set
        Returns:
        this builder
      • privilegedOperationList

        public PrivilegedApiControl.Builder privilegedOperationList​(List<PrivilegedApiDetails> privilegedOperationList)
        List of privileged operations/apis.

        These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.

        Parameters:
        privilegedOperationList - the value to set
        Returns:
        this builder
      • numberOfApprovers

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

        public PrivilegedApiControl.Builder timeCreated​(Date timeCreated)
        The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public PrivilegedApiControl.Builder timeUpdated​(Date timeUpdated)
        The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • timeDeleted

        public PrivilegedApiControl.Builder timeDeleted​(Date timeDeleted)
        The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeDeleted - the value to set
        Returns:
        this builder
      • state

        public PrivilegedApiControl.Builder state​(String state)
        The current state of the PrivilegedApiControl.
        Parameters:
        state - the value to set
        Returns:
        this builder
      • stateDetails

        public PrivilegedApiControl.Builder stateDetails​(String stateDetails)
        A message that describes the current state of the PrivilegedApiControl in more detail.

        For example, can be used to provide actionable information for a resource in the Failed state.

        Parameters:
        stateDetails - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public PrivilegedApiControl.Builder lifecycleDetails​(String lifecycleDetails)
        A message that describes the current state of the PrivilegedApiControl in more detail.

        For example, can be used to provide actionable information for a resource in the Failed state.

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

        public PrivilegedApiControl.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

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

        public PrivilegedApiControl.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public PrivilegedApiControl.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace.

        Example: {"orcl-cloud": {"free-tier-retained": "true"}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder