Class ListBucketsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • namespaceName

        public ListBucketsRequest.Builder namespaceName​(String namespaceName)
        The Object Storage namespace used for the request.
        Parameters:
        namespaceName - the value to set
        Returns:
        this builder instance
      • compartmentId

        public ListBucketsRequest.Builder compartmentId​(String compartmentId)
        The ID of the compartment in which to list buckets.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • limit

        public ListBucketsRequest.Builder limit​(Integer limit)
        For list pagination.

        The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.

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

        public ListBucketsRequest.Builder page​(String page)
        For list pagination.

        The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.

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

        public ListBucketsRequest.Builder fields​(List<ListBucketsRequest.Fields> fields)
        Bucket summary in list of buckets includes the ‘namespace’, ‘name’, ‘compartmentId’, ‘createdBy’, ‘timeCreated’, and ‘etag’ fields.

        This parameter can also include ‘tags’ (freeformTags and definedTags). The only supported value of this parameter is ‘tags’ for now. Example ‘tags’.

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

        public ListBucketsRequest.Builder fields​(ListBucketsRequest.Fields singularValue)
        Singular setter.

        Bucket summary in list of buckets includes the ‘namespace’, ‘name’, ‘compartmentId’, ‘createdBy’, ‘timeCreated’, and ‘etag’ fields. This parameter can also include ‘tags’ (freeformTags and definedTags). The only supported value of this parameter is ‘tags’ for now. Example ‘tags’.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • opcClientRequestId

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

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