Interface SearchResourcesRequest.Builder

    • Method Detail

      • authenticationToken

        SearchResourcesRequest.Builder authenticationToken​(String authenticationToken)

        Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

        Parameters:
        authenticationToken - Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryText

        SearchResourcesRequest.Builder queryText​(String queryText)

        The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches.

        Parameters:
        queryText - The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryScopesWithStrings

        SearchResourcesRequest.Builder queryScopesWithStrings​(Collection<String> queryScopes)

        Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content

        Parameters:
        queryScopes - Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryScopesWithStrings

        SearchResourcesRequest.Builder queryScopesWithStrings​(String... queryScopes)

        Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content

        Parameters:
        queryScopes - Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryScopes

        SearchResourcesRequest.Builder queryScopes​(Collection<SearchQueryScopeType> queryScopes)

        Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content

        Parameters:
        queryScopes - Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryScopes

        SearchResourcesRequest.Builder queryScopes​(SearchQueryScopeType... queryScopes)

        Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content

        Parameters:
        queryScopes - Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • organizationId

        SearchResourcesRequest.Builder organizationId​(String organizationId)

        Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.

        Parameters:
        organizationId - Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalResponseFieldsWithStrings

        SearchResourcesRequest.Builder additionalResponseFieldsWithStrings​(Collection<String> additionalResponseFields)

        A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.

        Parameters:
        additionalResponseFields - A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalResponseFieldsWithStrings

        SearchResourcesRequest.Builder additionalResponseFieldsWithStrings​(String... additionalResponseFields)

        A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.

        Parameters:
        additionalResponseFields - A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalResponseFields

        SearchResourcesRequest.Builder additionalResponseFields​(Collection<AdditionalResponseFieldType> additionalResponseFields)

        A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.

        Parameters:
        additionalResponseFields - A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalResponseFields

        SearchResourcesRequest.Builder additionalResponseFields​(AdditionalResponseFieldType... additionalResponseFields)

        A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.

        Parameters:
        additionalResponseFields - A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        SearchResourcesRequest.Builder filters​(Filters filters)

        Filters results based on entity metadata.

        Parameters:
        filters - Filters results based on entity metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orderBy

        SearchResourcesRequest.Builder orderBy​(Collection<SearchSortResult> orderBy)

        Order by results in one or more categories.

        Parameters:
        orderBy - Order by results in one or more categories.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orderBy

        SearchResourcesRequest.Builder orderBy​(SearchSortResult... orderBy)

        Order by results in one or more categories.

        Parameters:
        orderBy - Order by results in one or more categories.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • limit

        SearchResourcesRequest.Builder limit​(Integer limit)

        Max results count per page.

        Parameters:
        limit - Max results count per page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • marker

        SearchResourcesRequest.Builder marker​(String marker)

        The marker for the next set of results.

        Parameters:
        marker - The marker for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.