Class PatchAlertsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • patchAlertsDetails

        public PatchAlertsRequest.Builder patchAlertsDetails​(PatchAlertsDetails patchAlertsDetails)
        The alert details to update the status of one or more alert specified by the alert IDs.
        Parameters:
        patchAlertsDetails - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public PatchAlertsRequest.Builder opcRequestId​(String opcRequestId)
        Unique identifier for the request.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • ifMatch

        public PatchAlertsRequest.Builder ifMatch​(String ifMatch)
        For optimistic concurrency control.

        In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.

        Parameters:
        ifMatch - the value to set
        Returns:
        this builder instance
      • compartmentIdInSubtree

        public PatchAlertsRequest.Builder compartmentIdInSubtree​(Boolean compartmentIdInSubtree)
        Default is false.

        When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the ‘accessLevel’ setting.

        Parameters:
        compartmentIdInSubtree - the value to set
        Returns:
        this builder instance
      • accessLevel

        public PatchAlertsRequest.Builder accessLevel​(PatchAlertsRequest.AccessLevel accessLevel)
        Valid values are RESTRICTED and ACCESSIBLE.

        Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.

        Parameters:
        accessLevel - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public PatchAlertsRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public PatchAlertsRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance