Class ListStacksRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • opcRequestId

        public ListStacksRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

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

        public ListStacksRequest.Builder compartmentId​(String compartmentId)
        A filter to return only resources that exist in the compartment, identified by OCID.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • lifecycleState

        public ListStacksRequest.Builder lifecycleState​(Stack.LifecycleState lifecycleState)
        A filter that returns only those resources that match the specified lifecycle state.

        The state value is case-insensitive. For more information about stack lifecycle states, see Key Concepts.

        Allowable values: - CREATING - ACTIVE - DELETING - DELETED - FAILED

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

        public ListStacksRequest.Builder displayName​(String displayName)
        A filter to return only resources that match the given display name exactly.

        Use this filter to list a resource by name. Requires sortBy set to DISPLAYNAME. Alternatively, when you know the resource OCID, use the related Get operation.

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

        public ListStacksRequest.Builder sortBy​(ListStacksRequest.SortBy sortBy)
        The field to use when sorting returned resources.

        By default, TIMECREATED is ordered descending. By default, DISPLAYNAME is ordered ascending. Note that you can sort only on one field.

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

        public ListStacksRequest.Builder sortOrder​(ListStacksRequest.SortOrder sortOrder)
        The sort order to use when sorting returned resources.

        Ascending (ASC) or descending (DESC).

        Parameters:
        sortOrder - the value to set
        Returns:
        this builder instance
      • limit

        public ListStacksRequest.Builder limit​(Integer limit)
        The number of items returned in a paginated List call.

        For information about pagination, see List Pagination.

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

        public ListStacksRequest.Builder page​(String page)
        The value of the opc-next-page response header from the preceding List call.

        For information about pagination, see List Pagination.

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

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