public static interface GetConnectionResponse.Builder extends GlueResponse.Builder, CopyableBuilder<GetConnectionResponse.Builder,GetConnectionResponse>
Modifier and Type | Method and Description |
---|---|
GetConnectionResponse.Builder |
connection(Connection connection)
The requested connection definition.
|
default GetConnectionResponse.Builder |
connection(Consumer<Connection.Builder> connection)
The requested connection definition.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetConnectionResponse.Builder connection(Connection connection)
The requested connection definition.
connection
- The requested connection definition.default GetConnectionResponse.Builder connection(Consumer<Connection.Builder> connection)
The requested connection definition.
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.