public static interface ListEnvironmentsResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListEnvironmentsResponse.Builder,ListEnvironmentsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListEnvironmentsResponse.Builder |
items(Collection<EnvironmentSummary> items)
The results of the
ListEnvironments action. |
ListEnvironmentsResponse.Builder |
items(Consumer<EnvironmentSummary.Builder>... items)
The results of the
ListEnvironments action. |
ListEnvironmentsResponse.Builder |
items(EnvironmentSummary... items)
The results of the
ListEnvironments action. |
ListEnvironmentsResponse.Builder |
nextToken(String nextToken)
When the number of environments is greater than the default value for the
MaxResults parameter,
or if you explicitly specify a value for MaxResults that is less than the number of
environments, the response includes a pagination token named NextToken. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListEnvironmentsResponse.Builder items(Collection<EnvironmentSummary> items)
The results of the ListEnvironments action.
items - The results of the ListEnvironments action.ListEnvironmentsResponse.Builder items(EnvironmentSummary... items)
The results of the ListEnvironments action.
items - The results of the ListEnvironments action.ListEnvironmentsResponse.Builder items(Consumer<EnvironmentSummary.Builder>... items)
The results of the ListEnvironments action.
EnvironmentSummary.Builder avoiding the need to create
one manually via EnvironmentSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #items(List.
items - a consumer that will call methods on
EnvironmentSummary.Builder#items(java.util.Collection) ListEnvironmentsResponse.Builder nextToken(String nextToken)
When the number of environments is greater than the default value for the MaxResults parameter,
or if you explicitly specify a value for MaxResults that is less than the number of
environments, the response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to ListEnvironments to list the next set of
environments.
nextToken - When the number of environments is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the
number of environments, the response includes a pagination token named NextToken. You can
specify this NextToken value in a subsequent call to ListEnvironments to
list the next set of environments.Copyright © 2023. All rights reserved.