Interface ListEnvironmentAccountConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEnvironmentAccountConnectionsResponse.Builder,
,ListEnvironmentAccountConnectionsResponse> ProtonResponse.Builder
,SdkBuilder<ListEnvironmentAccountConnectionsResponse.Builder,
,ListEnvironmentAccountConnectionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEnvironmentAccountConnectionsResponse
public static interface ListEnvironmentAccountConnectionsResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListEnvironmentAccountConnectionsResponse.Builder,ListEnvironmentAccountConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentAccountConnections
(Collection<EnvironmentAccountConnectionSummary> environmentAccountConnections) An array of environment account connections with details that's returned by Proton.environmentAccountConnections
(Consumer<EnvironmentAccountConnectionSummary.Builder>... environmentAccountConnections) An array of environment account connections with details that's returned by Proton.environmentAccountConnections
(EnvironmentAccountConnectionSummary... environmentAccountConnections) An array of environment account connections with details that's returned by Proton.A token that indicates the location of the next environment account connection in the array of environment account connections, after the current requested list of environment account connections.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
environmentAccountConnections
ListEnvironmentAccountConnectionsResponse.Builder environmentAccountConnections(Collection<EnvironmentAccountConnectionSummary> environmentAccountConnections) An array of environment account connections with details that's returned by Proton.
- Parameters:
environmentAccountConnections
- An array of environment account connections with details that's returned by Proton.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentAccountConnections
ListEnvironmentAccountConnectionsResponse.Builder environmentAccountConnections(EnvironmentAccountConnectionSummary... environmentAccountConnections) An array of environment account connections with details that's returned by Proton.
- Parameters:
environmentAccountConnections
- An array of environment account connections with details that's returned by Proton.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentAccountConnections
ListEnvironmentAccountConnectionsResponse.Builder environmentAccountConnections(Consumer<EnvironmentAccountConnectionSummary.Builder>... environmentAccountConnections) An array of environment account connections with details that's returned by Proton.
This is a convenience method that creates an instance of theEnvironmentAccountConnectionSummary.Builder
avoiding the need to create one manually viaEnvironmentAccountConnectionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironmentAccountConnections(List<EnvironmentAccountConnectionSummary>)
.- Parameters:
environmentAccountConnections
- a consumer that will call methods onEnvironmentAccountConnectionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates the location of the next environment account connection in the array of environment account connections, after the current requested list of environment account connections.
- Parameters:
nextToken
- A token that indicates the location of the next environment account connection in the array of environment account connections, after the current requested list of environment account connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-