public static interface DeleteInboundConnectionResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<DeleteInboundConnectionResponse.Builder,DeleteInboundConnectionResponse>
Modifier and Type | Method and Description |
---|---|
default DeleteInboundConnectionResponse.Builder |
connection(Consumer<InboundConnection.Builder> connection)
The deleted inbound connection.
|
DeleteInboundConnectionResponse.Builder |
connection(InboundConnection connection)
The deleted inbound connection.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DeleteInboundConnectionResponse.Builder connection(InboundConnection connection)
The deleted inbound connection.
connection
- The deleted inbound connection.default DeleteInboundConnectionResponse.Builder connection(Consumer<InboundConnection.Builder> connection)
The deleted inbound connection.
This is a convenience method that creates an instance of theInboundConnection.Builder
avoiding the
need to create one manually via InboundConnection.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to connection(InboundConnection)
.
connection
- a consumer that will call methods on InboundConnection.Builder
connection(InboundConnection)
Copyright © 2022. All rights reserved.