Interface NetworkConnectionAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>,SdkBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>,SdkPojo
- Enclosing class:
- NetworkConnectionAction
public static interface NetworkConnectionAction.Builder extends SdkPojo, CopyableBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NetworkConnectionAction.Builderblocked(Boolean blocked)Indicates whether the network connection attempt was blocked.NetworkConnectionAction.BuilderconnectionDirection(String connectionDirection)The direction of the network connection request (INorOUT).default NetworkConnectionAction.BuilderlocalPortDetails(Consumer<ActionLocalPortDetails.Builder> localPortDetails)Information about the port on the EC2 instance.NetworkConnectionAction.BuilderlocalPortDetails(ActionLocalPortDetails localPortDetails)Information about the port on the EC2 instance.NetworkConnectionAction.Builderprotocol(String protocol)The protocol used to make the network connection request.default NetworkConnectionAction.BuilderremoteIpDetails(Consumer<ActionRemoteIpDetails.Builder> remoteIpDetails)Information about the remote IP address that issued the network connection request.NetworkConnectionAction.BuilderremoteIpDetails(ActionRemoteIpDetails remoteIpDetails)Information about the remote IP address that issued the network connection request.default NetworkConnectionAction.BuilderremotePortDetails(Consumer<ActionRemotePortDetails.Builder> remotePortDetails)Information about the port on the remote IP address.NetworkConnectionAction.BuilderremotePortDetails(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 Detail
-
connectionDirection
NetworkConnectionAction.Builder connectionDirection(String connectionDirection)
The direction of the network connection request (
INorOUT).- Parameters:
connectionDirection- The direction of the network connection request (INorOUT).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpDetails
NetworkConnectionAction.Builder remoteIpDetails(ActionRemoteIpDetails 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.Builderavoiding the need to create one manually viaActionRemoteIpDetails.builder().When the
Consumercompletes,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:
remoteIpDetails(ActionRemoteIpDetails)
-
remotePortDetails
NetworkConnectionAction.Builder remotePortDetails(ActionRemotePortDetails 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.Builderavoiding the need to create one manually viaActionRemotePortDetails.builder().When the
Consumercompletes,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:
remotePortDetails(ActionRemotePortDetails)
-
localPortDetails
NetworkConnectionAction.Builder localPortDetails(ActionLocalPortDetails 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.Builderavoiding the need to create one manually viaActionLocalPortDetails.builder().When the
Consumercompletes,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:
localPortDetails(ActionLocalPortDetails)
-
protocol
NetworkConnectionAction.Builder protocol(String protocol)
The protocol used to make the network connection request.
Length Constraints: Minimum length of 1. Maximum length of 64.
- Parameters:
protocol- The protocol used to make the network connection request.Length Constraints: Minimum length of 1. Maximum length of 64.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blocked
NetworkConnectionAction.Builder blocked(Boolean 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.
-
-