public static interface NetworkConnectionAction.Builder extends CopyableBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>
copy
applyMutation, build
NetworkConnectionAction.Builder blocked(Boolean blocked)
blocked
- Network connection blocked information.NetworkConnectionAction.Builder connectionDirection(String connectionDirection)
connectionDirection
- Network connection direction.NetworkConnectionAction.Builder localPortDetails(LocalPortDetails localPortDetails)
localPortDetails
- Local port information of the connection.default NetworkConnectionAction.Builder localPortDetails(Consumer<LocalPortDetails.Builder> localPortDetails)
LocalPortDetails.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.Builder
localPortDetails(LocalPortDetails)
NetworkConnectionAction.Builder protocol(String protocol)
protocol
- Network connection protocol.NetworkConnectionAction.Builder remoteIpDetails(RemoteIpDetails remoteIpDetails)
remoteIpDetails
- Remote IP information of the connection.default NetworkConnectionAction.Builder remoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails)
RemoteIpDetails.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.Builder
remoteIpDetails(RemoteIpDetails)
NetworkConnectionAction.Builder remotePortDetails(RemotePortDetails remotePortDetails)
remotePortDetails
- Remote port information of the connection.default NetworkConnectionAction.Builder remotePortDetails(Consumer<RemotePortDetails.Builder> remotePortDetails)
RemotePortDetails.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.Builder
remotePortDetails(RemotePortDetails)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.