Class UpdateDelegationControlDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public UpdateDelegationControlDetails.Builder displayName​(String displayName)
        Name of the Delegation Control.

        The name does not need to be unique.

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

        public UpdateDelegationControlDetails.Builder numApprovalsRequired​(Integer numApprovalsRequired)
        number of approvals required.
        Parameters:
        numApprovalsRequired - the value to set
        Returns:
        this builder
      • delegationSubscriptionIds

        public UpdateDelegationControlDetails.Builder delegationSubscriptionIds​(List<String> delegationSubscriptionIds)
        List of Delegation Subscription OCID that are allowed for this Delegation Control.

        The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.

        Parameters:
        delegationSubscriptionIds - the value to set
        Returns:
        this builder
      • isAutoApproveDuringMaintenance

        public UpdateDelegationControlDetails.Builder isAutoApproveDuringMaintenance​(Boolean isAutoApproveDuringMaintenance)
        Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
        Parameters:
        isAutoApproveDuringMaintenance - the value to set
        Returns:
        this builder
      • resourceIds

        public UpdateDelegationControlDetails.Builder resourceIds​(List<String> resourceIds)
        The OCID of the selected resources that this Delegation Control is applicable to.
        Parameters:
        resourceIds - the value to set
        Returns:
        this builder
      • preApprovedServiceProviderActionNames

        public UpdateDelegationControlDetails.Builder preApprovedServiceProviderActionNames​(List<String> preApprovedServiceProviderActionNames)
        List of pre-approved Service Provider Action names.

        The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.

        Parameters:
        preApprovedServiceProviderActionNames - the value to set
        Returns:
        this builder
      • notificationTopicId

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

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