Interface NetworkConnectionAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkConnectionAction.Builder,,NetworkConnectionAction> SdkBuilder<NetworkConnectionAction.Builder,,NetworkConnectionAction> SdkPojo
- Enclosing class:
NetworkConnectionAction
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether EC2 blocked the network connection to your instance.connectionDirection(String connectionDirection) The network connection direction.default NetworkConnectionAction.BuilderlocalIpDetails(Consumer<LocalIpDetails.Builder> localIpDetails) The local IP information of the connection.localIpDetails(LocalIpDetails localIpDetails) The local IP information of the connection.localNetworkInterface(String localNetworkInterface) The EC2 instance's local elastic network interface utilized for the connection.default NetworkConnectionAction.BuilderlocalPortDetails(Consumer<LocalPortDetails.Builder> localPortDetails) The local port information of the connection.localPortDetails(LocalPortDetails localPortDetails) The local port information of the connection.The network connection protocol.default NetworkConnectionAction.BuilderremoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails) The remote IP information of the connection.remoteIpDetails(RemoteIpDetails remoteIpDetails) The remote IP information of the connection.default NetworkConnectionAction.BuilderremotePortDetails(Consumer<RemotePortDetails.Builder> remotePortDetails) The remote port information of the connection.remotePortDetails(RemotePortDetails remotePortDetails) The remote port information of the connection.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
-
blocked
Indicates whether EC2 blocked the network connection to your instance.
- Parameters:
blocked- Indicates whether EC2 blocked the network connection to your instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionDirection
The network connection direction.
- Parameters:
connectionDirection- The network connection direction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localPortDetails
The local port information of the connection.
- Parameters:
localPortDetails- The local port information of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localPortDetails
default NetworkConnectionAction.Builder localPortDetails(Consumer<LocalPortDetails.Builder> localPortDetails) The local port information of the connection.
This is a convenience method that creates an instance of theLocalPortDetails.Builderavoiding the need to create one manually viaLocalPortDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalPortDetails(LocalPortDetails).- Parameters:
localPortDetails- a consumer that will call methods onLocalPortDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The network connection protocol.
- Parameters:
protocol- The network connection protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localIpDetails
The local IP information of the connection.
- Parameters:
localIpDetails- The local IP information of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localIpDetails
default NetworkConnectionAction.Builder localIpDetails(Consumer<LocalIpDetails.Builder> localIpDetails) The local IP information of the connection.
This is a convenience method that creates an instance of theLocalIpDetails.Builderavoiding the need to create one manually viaLocalIpDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalIpDetails(LocalIpDetails).- Parameters:
localIpDetails- a consumer that will call methods onLocalIpDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
localNetworkInterface
The EC2 instance's local elastic network interface utilized for the connection.
- Parameters:
localNetworkInterface- The EC2 instance's local elastic network interface utilized for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpDetails
The remote IP information of the connection.
- Parameters:
remoteIpDetails- The remote IP information of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpDetails
default NetworkConnectionAction.Builder remoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails) The remote IP information of the connection.
This is a convenience method that creates an instance of theRemoteIpDetails.Builderavoiding the need to create one manually viaRemoteIpDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteIpDetails(RemoteIpDetails).- Parameters:
remoteIpDetails- a consumer that will call methods onRemoteIpDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remotePortDetails
The remote port information of the connection.
- Parameters:
remotePortDetails- The remote port information of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remotePortDetails
default NetworkConnectionAction.Builder remotePortDetails(Consumer<RemotePortDetails.Builder> remotePortDetails) The remote port information of the connection.
This is a convenience method that creates an instance of theRemotePortDetails.Builderavoiding the need to create one manually viaRemotePortDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremotePortDetails(RemotePortDetails).- Parameters:
remotePortDetails- a consumer that will call methods onRemotePortDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-