Class EnvironmentListPageResponse.Builder
-
- All Implemented Interfaces:
public final class EnvironmentListPageResponse.BuilderA builder for EnvironmentListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final EnvironmentListPageResponse.Builder data(List<BetaEnvironment> data)
List of environments.
-
data
final EnvironmentListPageResponse.Builder data(JsonField<List<BetaEnvironment>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<BetaEnvironment>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final EnvironmentListPageResponse.Builder addData(BetaEnvironment data)
Adds a single BetaEnvironment to Builder.data.
-
nextPage
final EnvironmentListPageResponse.Builder nextPage(String nextPage)
Token for fetching the next page of results. If
null, there are no more results available. Pass this value to thepageparameter in the next request.
-
nextPage
final EnvironmentListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final EnvironmentListPageResponse.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.
-
additionalProperties
final EnvironmentListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EnvironmentListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EnvironmentListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EnvironmentListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EnvironmentListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EnvironmentListPageResponse build()
Returns an immutable instance of EnvironmentListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .nextPage()
-
-
-
-