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 (INorOUT).default NetworkConnectionAction.BuilderlocalPortDetails(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.BuilderremoteIpDetails(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.BuilderremotePortDetails(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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:
-
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:
-
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
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.
-