Interface NetworkConnectionAction.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<NetworkConnectionAction.Builder,,- NetworkConnectionAction> - SdkBuilder<NetworkConnectionAction.Builder,,- NetworkConnectionAction> - SdkPojo
- Enclosing class:
- NetworkConnectionAction
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
connectionDirectionThe direction of the network connection request ( INorOUT).- Parameters:
- connectionDirection- The direction of the network connection request (- INor- OUT).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
remoteIpDetailsInformation 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.
 
- 
remoteIpDetailsdefault 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 on- ActionRemoteIpDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
remotePortDetailsInformation 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.
 
- 
remotePortDetailsdefault 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 on- ActionRemotePortDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
localPortDetailsInformation 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.
 
- 
localPortDetailsdefault 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 on- ActionLocalPortDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
protocolThe 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.
 
- 
blockedIndicates 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.
 
 
-