Class AddRelationRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- AddRelationRequest
public static class AddRelationRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddRelationRequest
build()
AddRelationRequest.Builder
but()
Deprecated.This method will be removed in the future.AddRelationRequest.Builder
endingDate(Long endingDate)
The ending date of the relation.AddRelationRequest.Builder
sourceId(@NotNull UUID sourceId)
Required. The ID of the source of the relation.AddRelationRequest.Builder
startingDate(Long startingDate)
The starting date of the relation.AddRelationRequest.Builder
targetId(@NotNull UUID targetId)
Required. The ID of the target of the relation.String
toString()
AddRelationRequest.Builder
typeId(@NotNull UUID typeId)
Required. The ID of the type of the relation.
-
-
-
Method Detail
-
but
@Deprecated public AddRelationRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useAddRelationRequest.builder()
Clone method for this Builder.
-
sourceId
public AddRelationRequest.Builder sourceId(@NotNull @NotNull UUID sourceId)
Required. The ID of the source of the relation.- Returns:
this
.
-
targetId
public AddRelationRequest.Builder targetId(@NotNull @NotNull UUID targetId)
Required. The ID of the target of the relation.- Returns:
this
.
-
typeId
public AddRelationRequest.Builder typeId(@NotNull @NotNull UUID typeId)
Required. The ID of the type of the relation.- Returns:
this
.
-
startingDate
public AddRelationRequest.Builder startingDate(Long startingDate)
The starting date of the relation.- Returns:
this
.
-
endingDate
public AddRelationRequest.Builder endingDate(Long endingDate)
The ending date of the relation.- Returns:
this
.
-
build
public AddRelationRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-