Interface DeleteOutboundConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteOutboundConnectionResponse.Builder,
,DeleteOutboundConnectionResponse> OpenSearchResponse.Builder
,SdkBuilder<DeleteOutboundConnectionResponse.Builder,
,DeleteOutboundConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteOutboundConnectionResponse
public static interface DeleteOutboundConnectionResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<DeleteOutboundConnectionResponse.Builder,DeleteOutboundConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnection
(Consumer<OutboundConnection.Builder> connection) The deleted inbound connection.connection
(OutboundConnection connection) The deleted inbound connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
connection
The deleted inbound connection.
- Parameters:
connection
- The deleted inbound connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connection
default DeleteOutboundConnectionResponse.Builder connection(Consumer<OutboundConnection.Builder> connection) The deleted inbound connection.
This is a convenience method that creates an instance of theOutboundConnection.Builder
avoiding the need to create one manually viaOutboundConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnection(OutboundConnection)
.- Parameters:
connection
- a consumer that will call methods onOutboundConnection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-