Class ListStagesRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • remediationRunId

        public ListStagesRequest.Builder remediationRunId​(String remediationRunId)
        Unique Remediation Run identifier path parameter.
        Parameters:
        remediationRunId - the value to set
        Returns:
        this builder instance
      • sortOrder

        public ListStagesRequest.Builder sortOrder​(SortOrder sortOrder)
        The sort order to use, either ‘ASC’ or ‘DESC’.
        Parameters:
        sortOrder - the value to set
        Returns:
        this builder instance
      • limit

        public ListStagesRequest.Builder limit​(Integer limit)
        The maximum number of items to return.
        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListStagesRequest.Builder page​(String page)
        A token representing the position at which to start retrieving results.

        This must come from the opc-next-page header field of a previous response.

        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListStagesRequest.Builder opcRequestId​(String opcRequestId)
        The client request ID for tracing.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • sortBy

        public ListStagesRequest.Builder sortBy​(ListStagesRequest.SortBy sortBy)
        The field used to sort Stages.

        Only one sort order is allowed. Default order for status is the following sequence: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, CANCELING, and CANCELED. Default order for timeCreated is descending. Default order for timeFinished is descending. Default order for timeStarted is descending. Default order for type is the following sequence: DETECT, RECOMMEND, VERIFY, and APPLY.

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

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