public static interface NetworkConnectionAction.Builder extends SdkPojo, CopyableBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>
| Modifier and Type | Method and Description |
|---|---|
NetworkConnectionAction.Builder |
blocked(Boolean blocked)
Indicates whether EC2 blocked the network connection to your instance.
|
NetworkConnectionAction.Builder |
connectionDirection(String connectionDirection)
The network connection direction.
|
default NetworkConnectionAction.Builder |
localIpDetails(Consumer<LocalIpDetails.Builder> localIpDetails)
The local IP information of the connection.
|
NetworkConnectionAction.Builder |
localIpDetails(LocalIpDetails localIpDetails)
The local IP information of the connection.
|
default NetworkConnectionAction.Builder |
localPortDetails(Consumer<LocalPortDetails.Builder> localPortDetails)
The local port information of the connection.
|
NetworkConnectionAction.Builder |
localPortDetails(LocalPortDetails localPortDetails)
The local port information of the connection.
|
NetworkConnectionAction.Builder |
protocol(String protocol)
The network connection protocol.
|
default NetworkConnectionAction.Builder |
remoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails)
The remote IP information of the connection.
|
NetworkConnectionAction.Builder |
remoteIpDetails(RemoteIpDetails remoteIpDetails)
The remote IP information of the connection.
|
default NetworkConnectionAction.Builder |
remotePortDetails(Consumer<RemotePortDetails.Builder> remotePortDetails)
The remote port information of the connection.
|
NetworkConnectionAction.Builder |
remotePortDetails(RemotePortDetails remotePortDetails)
The remote port information of the connection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkConnectionAction.Builder blocked(Boolean blocked)
Indicates whether EC2 blocked the network connection to your instance.
blocked - Indicates whether EC2 blocked the network connection to your instance.NetworkConnectionAction.Builder connectionDirection(String connectionDirection)
The network connection direction.
connectionDirection - The network connection direction.NetworkConnectionAction.Builder localPortDetails(LocalPortDetails localPortDetails)
The local port information of the connection.
localPortDetails - The local port information of the connection.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.Builder avoiding the
need to create one manually via LocalPortDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to localPortDetails(LocalPortDetails).
localPortDetails - a consumer that will call methods on LocalPortDetails.BuilderlocalPortDetails(LocalPortDetails)NetworkConnectionAction.Builder protocol(String protocol)
The network connection protocol.
protocol - The network connection protocol.NetworkConnectionAction.Builder localIpDetails(LocalIpDetails localIpDetails)
The local IP information of the connection.
localIpDetails - The local IP information of the connection.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.Builder avoiding the need
to create one manually via LocalIpDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to localIpDetails(LocalIpDetails).
localIpDetails - a consumer that will call methods on LocalIpDetails.BuilderlocalIpDetails(LocalIpDetails)NetworkConnectionAction.Builder remoteIpDetails(RemoteIpDetails remoteIpDetails)
The remote IP information of the connection.
remoteIpDetails - The remote IP information of the connection.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.Builder avoiding the
need to create one manually via RemoteIpDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to remoteIpDetails(RemoteIpDetails).
remoteIpDetails - a consumer that will call methods on RemoteIpDetails.BuilderremoteIpDetails(RemoteIpDetails)NetworkConnectionAction.Builder remotePortDetails(RemotePortDetails remotePortDetails)
The remote port information of the connection.
remotePortDetails - The remote port information of the connection.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.Builder avoiding the
need to create one manually via RemotePortDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to remotePortDetails(RemotePortDetails).
remotePortDetails - a consumer that will call methods on RemotePortDetails.BuilderremotePortDetails(RemotePortDetails)Copyright © 2023. All rights reserved.