public static interface TestConnectionResponse.Builder extends DatabaseMigrationResponse.Builder, CopyableBuilder<TestConnectionResponse.Builder,TestConnectionResponse>
Modifier and Type | Method and Description |
---|---|
TestConnectionResponse.Builder |
connection(Connection connection)
The connection tested.
|
default TestConnectionResponse.Builder |
connection(Consumer<Connection.Builder> connection)
The connection tested.
|
build
copy
apply, build
TestConnectionResponse.Builder connection(Connection connection)
The connection tested.
connection
- The connection tested.default TestConnectionResponse.Builder connection(Consumer<Connection.Builder> connection)
The connection tested.
This is a convenience that creates an instance of theConnection.Builder
avoiding the need to create
one manually via Connection.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to connection(Connection)
.connection
- a consumer that will call methods on Connection.Builder
connection(Connection)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.