Class UsageModerationsResponse.Builder
-
- All Implemented Interfaces:
public final class UsageModerationsResponse.BuilderA builder for UsageModerationsResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final UsageModerationsResponse.Builder data(List<UsageModerationsResponse.Data> data)
-
data
final UsageModerationsResponse.Builder data(JsonField<List<UsageModerationsResponse.Data>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<Data>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final UsageModerationsResponse.Builder addData(UsageModerationsResponse.Data data)
Adds a single Data to Builder.data.
-
hasMore
final UsageModerationsResponse.Builder hasMore(Boolean hasMore)
-
hasMore
final UsageModerationsResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final UsageModerationsResponse.Builder nextPage(String nextPage)
-
nextPage
final UsageModerationsResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final UsageModerationsResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final UsageModerationsResponse.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("page")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UsageModerationsResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UsageModerationsResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UsageModerationsResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UsageModerationsResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UsageModerationsResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UsageModerationsResponse build()
Returns an immutable instance of UsageModerationsResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .nextPage()
-
-
-
-