Interface RejectInboundConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RejectInboundConnectionResponse.Builder,RejectInboundConnectionResponse>
,OpenSearchResponse.Builder
,SdkBuilder<RejectInboundConnectionResponse.Builder,RejectInboundConnectionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- RejectInboundConnectionResponse
public static interface RejectInboundConnectionResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<RejectInboundConnectionResponse.Builder,RejectInboundConnectionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
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 Detail
-
connection
RejectInboundConnectionResponse.Builder connection(InboundConnection connection)
Contains details about the rejected inbound connection.
- Parameters:
connection
- Contains details about the rejected inbound connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaInboundConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnection(InboundConnection)
.- Parameters:
connection
- a consumer that will call methods onInboundConnection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
connection(InboundConnection)
-
-