Interface DescribeConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeConnectionsResponse.Builder,,DescribeConnectionsResponse> DatabaseMigrationResponse.Builder,SdkBuilder<DescribeConnectionsResponse.Builder,,DescribeConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeConnectionsResponse
public static interface DescribeConnectionsResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectionsResponse.Builder,DescribeConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnections(Collection<Connection> connections) A description of the connections.connections(Consumer<Connection.Builder>... connections) A description of the connections.connections(Connection... connections) A description of the connections.An optional pagination token provided by a previous request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.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
-
marker
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.- Parameters:
marker- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
A description of the connections.
- Parameters:
connections- A description of the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
A description of the connections.
- Parameters:
connections- A description of the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
A description of 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:
-