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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEnvironmentAccountConnectionsResponse.BuilderenvironmentAccountConnections(Collection<EnvironmentAccountConnectionSummary> environmentAccountConnections)An array of environment account connections with details that's returned by Proton.ListEnvironmentAccountConnectionsResponse.BuilderenvironmentAccountConnections(Consumer<EnvironmentAccountConnectionSummary.Builder>... environmentAccountConnections)An array of environment account connections with details that's returned by Proton.ListEnvironmentAccountConnectionsResponse.BuilderenvironmentAccountConnections(EnvironmentAccountConnectionSummary... environmentAccountConnections)An array of environment account connections with details that's returned by Proton.ListEnvironmentAccountConnectionsResponse.BuildernextToken(String 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.-
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 Detail
-
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.Builderavoiding the need to create one manually viaEnvironmentAccountConnectionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#environmentAccountConnections(List.) - 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:
#environmentAccountConnections(java.util.Collection)
-
nextToken
ListEnvironmentAccountConnectionsResponse.Builder nextToken(String 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.
-
-