Class FindAttributesRequest.Builder

  • Enclosing class:
    FindAttributesRequest

    public static final class FindAttributesRequest.Builder
    extends Object
    • Field Detail

      • offset

        @Deprecated(forRemoval=true)
        protected int offset
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use cursor paginations
      • limit

        @Deprecated
        protected int limit
        Deprecated.
        This field will become private in the next major release.
    • Method Detail

      • offset

        @Deprecated(forRemoval=true)
        public FindAttributesRequest.Builder offset​(int offset)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use cursor pagination.
      • cursor

        public FindAttributesRequest.Builder cursor​(String cursor)
        Parameters:
        cursor - Cursor for the current page of results. To retrieve the first page with cursor pagination you need to pass this parameter with an empty value (must be non-null). For the next pages, the value must be taken from the response (nextCursor property).
        Returns:
        this.
      • typeIds

        public FindAttributesRequest.Builder typeIds​(List<UUID> typeIds)
        Parameters:
        typeIds - The list of IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied.
        Returns:
        this.
      • assetId

        public FindAttributesRequest.Builder assetId​(UUID assetId)
        Parameters:
        assetId - The ID of the asset to find the attributes in, or null if no asset filtering should be applied.
        Returns:
        this.
      • sortOrder

        public FindAttributesRequest.Builder sortOrder​(SortOrder sortOrder)
        Parameters:
        sortOrder - The order of sorting. When omitted, the sortOrder defaults to DESC (descending).
        Returns:
        this.
      • toString

        public String toString()
        Overrides:
        toString in class Object