public static interface AcceptInboundConnectionResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<AcceptInboundConnectionResponse.Builder,AcceptInboundConnectionResponse>
| Modifier and Type | Method and Description |
|---|---|
default AcceptInboundConnectionResponse.Builder |
connection(Consumer<InboundConnection.Builder> connection)
Information about the accepted inbound connection.
|
AcceptInboundConnectionResponse.Builder |
connection(InboundConnection connection)
Information about the accepted inbound connection.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildAcceptInboundConnectionResponse.Builder connection(InboundConnection connection)
Information about the accepted inbound connection.
connection - Information about the accepted inbound connection.default AcceptInboundConnectionResponse.Builder connection(Consumer<InboundConnection.Builder> connection)
Information about the accepted 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.Builderconnection(InboundConnection)Copyright © 2023. All rights reserved.