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 EC2 blocked the network connection to your instance.NetworkConnectionAction.BuilderconnectionDirection(String connectionDirection)The network connection direction.default NetworkConnectionAction.BuilderlocalIpDetails(Consumer<LocalIpDetails.Builder> localIpDetails)The local IP information of the connection.NetworkConnectionAction.BuilderlocalIpDetails(LocalIpDetails localIpDetails)The local IP information of the connection.default NetworkConnectionAction.BuilderlocalPortDetails(Consumer<LocalPortDetails.Builder> localPortDetails)The local port information of the connection.NetworkConnectionAction.BuilderlocalPortDetails(LocalPortDetails localPortDetails)The local port information of the connection.NetworkConnectionAction.Builderprotocol(String protocol)The network connection protocol.default NetworkConnectionAction.BuilderremoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails)The remote IP information of the connection.NetworkConnectionAction.BuilderremoteIpDetails(RemoteIpDetails remoteIpDetails)The remote IP information of the connection.default NetworkConnectionAction.BuilderremotePortDetails(Consumer<RemotePortDetails.Builder> remotePortDetails)The remote port information of the connection.NetworkConnectionAction.BuilderremotePortDetails(RemotePortDetails remotePortDetails)The remote port information of the connection.-
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
-
blocked
NetworkConnectionAction.Builder blocked(Boolean 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
NetworkConnectionAction.Builder connectionDirection(String 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
NetworkConnectionAction.Builder localPortDetails(LocalPortDetails 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:
localPortDetails(LocalPortDetails)
-
protocol
NetworkConnectionAction.Builder protocol(String 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
NetworkConnectionAction.Builder localIpDetails(LocalIpDetails 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:
localIpDetails(LocalIpDetails)
-
remoteIpDetails
NetworkConnectionAction.Builder remoteIpDetails(RemoteIpDetails 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:
remoteIpDetails(RemoteIpDetails)
-
remotePortDetails
NetworkConnectionAction.Builder remotePortDetails(RemotePortDetails 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:
remotePortDetails(RemotePortDetails)
-
-