Class ContainerListPageResponse.Builder
-
- All Implemented Interfaces:
public final class ContainerListPageResponse.Builder
A builder for ContainerListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final ContainerListPageResponse.Builder data(List<ContainerListResponse> data)
A list of containers.
-
data
final ContainerListPageResponse.Builder data(JsonField<List<ContainerListResponse>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<ContainerListResponse>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final ContainerListPageResponse.Builder addData(ContainerListResponse data)
Adds a single ContainerListResponse to Builder.data.
-
firstId
final ContainerListPageResponse.Builder firstId(String firstId)
The ID of the first container in the list.
-
firstId
final ContainerListPageResponse.Builder firstId(JsonField<String> firstId)
Sets Builder.firstId to an arbitrary JSON value.
You should usually call Builder.firstId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasMore
final ContainerListPageResponse.Builder hasMore(Boolean hasMore)
Whether there are more containers available.
-
hasMore
final ContainerListPageResponse.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.
-
lastId
final ContainerListPageResponse.Builder lastId(String lastId)
The ID of the last container in the list.
-
lastId
final ContainerListPageResponse.Builder lastId(JsonField<String> lastId)
Sets Builder.lastId to an arbitrary JSON value.
You should usually call Builder.lastId 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 ContainerListPageResponse.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("list")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ContainerListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ContainerListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ContainerListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ContainerListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ContainerListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ContainerListPageResponse build()
Returns an immutable instance of ContainerListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-