public static interface GetConnectionResponse.Builder extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<GetConnectionResponse.Builder,GetConnectionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetConnectionResponse.Builder |
connection(Connection connection)
The connection details, such as status, owner, and provider type.
|
default GetConnectionResponse.Builder |
connection(Consumer<Connection.Builder> connection)
The connection details, such as status, owner, and provider type.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetConnectionResponse.Builder connection(Connection connection)
The connection details, such as status, owner, and provider type.
connection - The connection details, such as status, owner, and provider type.default GetConnectionResponse.Builder connection(Consumer<Connection.Builder> connection)
The connection details, such as status, owner, and provider type.
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.Builderconnection(Connection)Copyright © 2021. All rights reserved.