Class ListPoolsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ListPoolsRequest.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListPoolsRequest.Builder opcRequestId​(String opcRequestId)
        Unique identifier for the request.

        If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service.

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

        public ListPoolsRequest.Builder limit​(Integer limit)
        The maximum number of results to return in a paginated List call.
        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListPoolsRequest.Builder page​(String page)
        The value of the opc-next-page or opc-prev-page response header from the last List call to sent back to server for getting the next page of results.
        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • lifecycleState

        public ListPoolsRequest.Builder lifecycleState​(PoolLifecycleState lifecycleState)
        The LifecycleState of the pool.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder instance
      • displayName

        public ListPoolsRequest.Builder displayName​(String displayName)
        The query parameter for the Spark application name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder instance
      • ownerPrincipalId

        public ListPoolsRequest.Builder ownerPrincipalId​(String ownerPrincipalId)
        The OCID of the user who created the resource.
        Parameters:
        ownerPrincipalId - the value to set
        Returns:
        this builder instance
      • displayNameStartsWith

        public ListPoolsRequest.Builder displayNameStartsWith​(String displayNameStartsWith)
        The displayName prefix.
        Parameters:
        displayNameStartsWith - the value to set
        Returns:
        this builder instance
      • invocationCallback

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