public static interface RejectInboundConnectionResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<RejectInboundConnectionResponse.Builder,RejectInboundConnectionResponse>
| Modifier and Type | Method and Description |
|---|---|
default RejectInboundConnectionResponse.Builder |
connection(Consumer<InboundConnection.Builder> connection)
Contains details about the rejected inbound connection.
|
RejectInboundConnectionResponse.Builder |
connection(InboundConnection connection)
Contains details about the rejected inbound connection.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildRejectInboundConnectionResponse.Builder connection(InboundConnection connection)
Contains details about the rejected inbound connection.
connection - Contains details about the rejected inbound connection.default RejectInboundConnectionResponse.Builder connection(Consumer<InboundConnection.Builder> connection)
Contains details about the rejected 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 © 2022. All rights reserved.