Interface ListEnvironmentsResponse.Builder
-
- All Superinterfaces:
AppConfigResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListEnvironmentsResponse.Builder,ListEnvironmentsResponse>,SdkBuilder<ListEnvironmentsResponse.Builder,ListEnvironmentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEnvironmentsResponse
public static interface ListEnvironmentsResponse.Builder extends AppConfigResponse.Builder, SdkPojo, CopyableBuilder<ListEnvironmentsResponse.Builder,ListEnvironmentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEnvironmentsResponse.Builderitems(Collection<Environment> items)The elements from this collection.ListEnvironmentsResponse.Builderitems(Consumer<Environment.Builder>... items)The elements from this collection.ListEnvironmentsResponse.Builderitems(Environment... items)The elements from this collection.ListEnvironmentsResponse.BuildernextToken(String nextToken)The token for the next set of items to return.-
Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
items
ListEnvironmentsResponse.Builder items(Collection<Environment> items)
The elements from this collection.
- Parameters:
items- The elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListEnvironmentsResponse.Builder items(Environment... items)
The elements from this collection.
- Parameters:
items- The elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListEnvironmentsResponse.Builder items(Consumer<Environment.Builder>... items)
The elements from this collection.
This is a convenience method that creates an instance of theEnvironment.Builderavoiding the need to create one manually viaEnvironment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onEnvironment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListEnvironmentsResponse.Builder nextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
- Parameters:
nextToken- The token for the next set of items to return. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-