Class FindAttributesRequest.Builder
Object
Builder
- Enclosing class:
FindAttributesRequest
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()but()Deprecated.This method will be removed in the future.countLimit(int countLimit) limit(int limit) offset(int offset) Deprecated, for removal: This API element is subject to removal in a future version.Use cursor pagination.sortField(FindAttributesRequest.SortField sortField) toString()typePublicIds(List<String> typePublicIds)
-
Field Details
-
offset
Deprecated, for removal: This API element is subject to removal in a future version.Use cursor paginations -
limit
Deprecated.This field will become private in the next major release.
-
-
Method Details
-
offset
Deprecated, for removal: This API element is subject to removal in a future version.Use cursor pagination. -
limit
-
typePublicIds
-
but
Deprecated.This method will be removed in the future. Please, useFindAttributesRequest.builder()Clone method for this Builder. -
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 (nextCursorproperty).- Returns:
this.
-
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
- Parameters:
assetId- The ID of the asset to find the attributes in, or null if no asset filtering should be applied.- Returns:
this.
-
sortOrder
- Parameters:
sortOrder- The order of sorting. When omitted, the sortOrder defaults toDESC(descending).- Returns:
this.
-
sortField
- Parameters:
sortField- The field on which the results are sorted. When omitted, the sortField defaults toLAST_MODIFIED.- Returns:
this.
-
countLimit
- Parameters:
countLimit- Allows to limit the number of elements that will be counted. Use this only in combination with the (discouraged)offsetparameter. -1 will count everything and 0 will cause the count to be skipped. When omitted, the countLimit defaults to-1.- Returns:
this.
-
build
-
toString
-