Interface DescribeConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeConnectionsResponse.Builder,,DescribeConnectionsResponse> DirectConnectResponse.Builder,SdkBuilder<DescribeConnectionsResponse.Builder,,DescribeConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeConnectionsResponse
public static interface DescribeConnectionsResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectionsResponse.Builder,DescribeConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnections(Collection<Connection> connections) The connections.connections(Consumer<Connection.Builder>... connections) The connections.connections(Connection... connections) The connections.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
connections
The connections.
- Parameters:
connections- The connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
The connections.
- Parameters:
connections- The connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
The connections.
This is a convenience method that creates an instance of theConnection.Builderavoiding the need to create one manually viaConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnections(List<Connection>).- Parameters:
connections- a consumer that will call methods onConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-