Class ComplexRelationLegRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- ComplexRelationLegRequest
public static final class ComplexRelationLegRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ComplexRelationLegRequest.Builder
assetId(@NotNull UUID assetId)
Required. The ID of the asset attached to the leg of the complex relation.ComplexRelationLegRequest
build()
ComplexRelationLegRequest.Builder
but()
Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the future.ComplexRelationLegRequest.Builder
legTypeId(UUID legTypeId)
Deprecated.UserelationTypeId
instead.ComplexRelationLegRequest.Builder
relationTypeId(UUID relationTypeId)
The ID of the type of the relation for complex relation.String
toString()
-
-
-
Method Detail
-
but
@Deprecated(forRemoval=true) public ComplexRelationLegRequest.Builder but()
Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the future. UseComplexRelationLegRequest.builder()
Clone method for this Builder.
-
legTypeId
@Deprecated public ComplexRelationLegRequest.Builder legTypeId(UUID legTypeId)
Deprecated.UserelationTypeId
instead.The ID of the type of the single leg for complex relation. Must be specified ifrelationTypeId
is not specified.- Returns:
this
.
-
relationTypeId
public ComplexRelationLegRequest.Builder relationTypeId(UUID relationTypeId)
The ID of the type of the relation for complex relation. Must be specified iflegTypeId
is not specified.- Returns:
this
.
-
assetId
public ComplexRelationLegRequest.Builder assetId(@NotNull @NotNull UUID assetId)
Required. The ID of the asset attached to the leg of the complex relation.- Returns:
this
.
-
build
public ComplexRelationLegRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-