Class ChangeRatingRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- ChangeRatingRequest
public static class ChangeRatingRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChangeRatingRequest
build()
ChangeRatingRequest.Builder
but()
Deprecated.This method will be removed in the future.ChangeRatingRequest.Builder
id(@NotNull UUID id)
Required. The ID of the rating.ChangeRatingRequest.Builder
rating(@NotNull Double rating)
Required. The new rating value.ChangeRatingRequest.Builder
review(String review)
The new review value.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public ChangeRatingRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useChangeRatingRequest.builder()
Clone method for this Builder.
-
id
public ChangeRatingRequest.Builder id(@NotNull @NotNull UUID id)
Required. The ID of the rating.- Returns:
this
.
-
rating
public ChangeRatingRequest.Builder rating(@NotNull @NotNull Double rating)
Required. The new rating value.- Returns:
this
.
-
review
public ChangeRatingRequest.Builder review(String review)
The new review value.- Returns:
this
.
-
build
public ChangeRatingRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-