Interface NetworkConnectionAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkConnectionAction.Builder,
,NetworkConnectionAction> SdkBuilder<NetworkConnectionAction.Builder,
,NetworkConnectionAction> SdkPojo
- Enclosing class:
NetworkConnectionAction
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether the network connection attempt was blocked.connectionDirection
(String connectionDirection) The direction of the network connection request (IN
orOUT
).default NetworkConnectionAction.Builder
localPortDetails
(Consumer<ActionLocalPortDetails.Builder> localPortDetails) Information about the port on the EC2 instance.localPortDetails
(ActionLocalPortDetails localPortDetails) Information about the port on the EC2 instance.The protocol used to make the network connection request.default NetworkConnectionAction.Builder
remoteIpDetails
(Consumer<ActionRemoteIpDetails.Builder> remoteIpDetails) Information about the remote IP address that issued the network connection request.remoteIpDetails
(ActionRemoteIpDetails remoteIpDetails) Information about the remote IP address that issued the network connection request.default NetworkConnectionAction.Builder
remotePortDetails
(Consumer<ActionRemotePortDetails.Builder> remotePortDetails) Information about the port on the remote IP address.remotePortDetails
(ActionRemotePortDetails remotePortDetails) Information about the port on the remote IP address.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
connectionDirection
The direction of the network connection request (
IN
orOUT
).- Parameters:
connectionDirection
- The direction of the network connection request (IN
orOUT
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpDetails
Information about the remote IP address that issued the network connection request.
- Parameters:
remoteIpDetails
- Information about the remote IP address that issued the network connection request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpDetails
default NetworkConnectionAction.Builder remoteIpDetails(Consumer<ActionRemoteIpDetails.Builder> remoteIpDetails) Information about the remote IP address that issued the network connection request.
This is a convenience method that creates an instance of theActionRemoteIpDetails.Builder
avoiding the need to create one manually viaActionRemoteIpDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremoteIpDetails(ActionRemoteIpDetails)
.- Parameters:
remoteIpDetails
- a consumer that will call methods onActionRemoteIpDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remotePortDetails
Information about the port on the remote IP address.
- Parameters:
remotePortDetails
- Information about the port on the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remotePortDetails
default NetworkConnectionAction.Builder remotePortDetails(Consumer<ActionRemotePortDetails.Builder> remotePortDetails) Information about the port on the remote IP address.
This is a convenience method that creates an instance of theActionRemotePortDetails.Builder
avoiding the need to create one manually viaActionRemotePortDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremotePortDetails(ActionRemotePortDetails)
.- Parameters:
remotePortDetails
- a consumer that will call methods onActionRemotePortDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
localPortDetails
Information about the port on the EC2 instance.
- Parameters:
localPortDetails
- Information about the port on the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localPortDetails
default NetworkConnectionAction.Builder localPortDetails(Consumer<ActionLocalPortDetails.Builder> localPortDetails) Information about the port on the EC2 instance.
This is a convenience method that creates an instance of theActionLocalPortDetails.Builder
avoiding the need to create one manually viaActionLocalPortDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocalPortDetails(ActionLocalPortDetails)
.- Parameters:
localPortDetails
- a consumer that will call methods onActionLocalPortDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol used to make the network connection request.
- Parameters:
protocol
- The protocol used to make the network connection request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blocked
Indicates whether the network connection attempt was blocked.
- Parameters:
blocked
- Indicates whether the network connection attempt was blocked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-