public static interface TestConnectionResponse.Builder extends DatabaseMigrationResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildTestConnectionResponse.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 method 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.Builderconnection(Connection)Copyright © 2023. All rights reserved.