Builder

public abstract class Builder

Builder for SafetyAttributes.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public abstract SafetyAttributes build()
Link copied to clipboard
@CanIgnoreReturnValue()
public SafetyAttributes.Builder categories(Array<String> categories)
public abstract SafetyAttributes.Builder categories(List<String> categories)
Setter for categories.
Link copied to clipboard
@CanIgnoreReturnValue()
public SafetyAttributes.Builder clearCategories()
Clears the value of categories field.
Link copied to clipboard
@CanIgnoreReturnValue()
public SafetyAttributes.Builder clearContentType()
Clears the value of contentType field.
Link copied to clipboard
@CanIgnoreReturnValue()
public SafetyAttributes.Builder clearScores()
Clears the value of scores field.
Link copied to clipboard
public abstract SafetyAttributes.Builder contentType(String contentType)
Setter for contentType.
Link copied to clipboard
@CanIgnoreReturnValue()
public SafetyAttributes.Builder scores(Array<Float> scores)
public abstract SafetyAttributes.Builder scores(List<Float> scores)
Setter for scores.