Class AddRatingRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- AddRatingRequest
public static class AddRatingRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddRatingRequest.Builder
assetId(@NotNull UUID assetId)
Required. The ID of the asset to which rating will be assigned.AddRatingRequest
build()
AddRatingRequest.Builder
but()
Deprecated.This method will be removed in the future.AddRatingRequest.Builder
rating(@NotNull Double rating)
Required. The rating value of the new rating.AddRatingRequest.Builder
review(String review)
The text field which could be optionally added with rating.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public AddRatingRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useAddRatingRequest.builder()
Clone method for this Builder.
-
rating
public AddRatingRequest.Builder rating(@NotNull @NotNull Double rating)
Required. The rating value of the new rating.- Returns:
this
.
-
review
public AddRatingRequest.Builder review(String review)
The text field which could be optionally added with rating.- Returns:
this
.
-
assetId
public AddRatingRequest.Builder assetId(@NotNull @NotNull UUID assetId)
Required. The ID of the asset to which rating will be assigned.- Returns:
this
.
-
build
public AddRatingRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-