Class FindRelationsRequest.Builder
Object
Builder
- Enclosing class:
FindRelationsRequest
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()but()Deprecated.This method will be removed in the future.limit(int limit) offset(int offset) Deprecated, for removal: This API element is subject to removal in a future version.Use cursor pagination.relationTypeId(UUID relationTypeId) sourceTargetLogicalOperator(LogicalOperator sourceTargetLogicalOperator) toString()typePublicId(String typePublicId)
-
Field Details
-
offset
Deprecated, for removal: This API element is subject to removal in a future version.Use cursor paginations -
limit
Deprecated.
-
-
Method Details
-
offset
Deprecated, for removal: This API element is subject to removal in a future version.Use cursor pagination. -
limit
-
but
Deprecated.This method will be removed in the future. Please, useFindRelationsRequest.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.
-
relationTypeId
- Parameters:
relationTypeId- The ID of the type of relations to search for.- Returns:
this.
-
sourceId
- Parameters:
sourceId- The ID of the source of relations to search for.- Returns:
this.
-
targetId
- Parameters:
targetId- The ID of the target of relations to search for.- Returns:
this.
-
sourceTargetLogicalOperator
public FindRelationsRequest.Builder sourceTargetLogicalOperator(LogicalOperator sourceTargetLogicalOperator) - Parameters:
sourceTargetLogicalOperator- The logical operator determining how to combine the source and target criteria: AND or OR. When omitted, the sourceTargetLogicalOperator defaults toAND.- Returns:
this.
-
typePublicId
- Returns:
this.
-
build
-
toString
-