Class ChangeRelationRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- ChangeRelationRequest
public static class ChangeRelationRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChangeRelationRequest
build()
ChangeRelationRequest.Builder
but()
Deprecated.This method will be removed in the future.ChangeRelationRequest.Builder
endingDate(Long endingDate)
The new ending date for the relation.ChangeRelationRequest.Builder
id(@NotNull UUID id)
Required. The ID of the relation that will be changed.ChangeRelationRequest.Builder
sourceId(UUID sourceId)
The ID of the new source for the relation.ChangeRelationRequest.Builder
startingDate(Long startingDate)
The new starting date for the relation.ChangeRelationRequest.Builder
targetId(UUID targetId)
The ID of the new target for the relation.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public ChangeRelationRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useChangeRelationRequest.builder()
Clone method for this Builder.
-
id
public ChangeRelationRequest.Builder id(@NotNull @NotNull UUID id)
Required. The ID of the relation that will be changed.Silently ignored if the ID is provided as path parameter of the request.
- Returns:
this
.
-
sourceId
public ChangeRelationRequest.Builder sourceId(UUID sourceId)
The ID of the new source for the relation.- Returns:
this
.
-
targetId
public ChangeRelationRequest.Builder targetId(UUID targetId)
The ID of the new target for the relation.- Returns:
this
.
-
startingDate
public ChangeRelationRequest.Builder startingDate(Long startingDate)
The new starting date for the relation.- Returns:
this
.
-
endingDate
public ChangeRelationRequest.Builder endingDate(Long endingDate)
The new ending date for the relation.- Returns:
this
.
-
build
public ChangeRelationRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-