RatingSystem.Builder


public final class RatingSystem.Builder


Builder class for RatingSystem.

Summary

Public constructors

Public methods

RatingSystem
RatingSystem.Builder

Sets the agency name.

RatingSystem.Builder

Sets the rating given by the agency.

Public constructors

Builder

public Builder()

Public methods

build

public RatingSystem build()

setAgencyName

@CanIgnoreReturnValue
public RatingSystem.Builder setAgencyName(@NonNull String agencyName)

Sets the agency name.

Required.

setRating

@CanIgnoreReturnValue
public RatingSystem.Builder setRating(@NonNull String rating)

Sets the rating given by the agency.

Required.