Interface DestinationPortMapping.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DestinationPortMapping.Builder,
,DestinationPortMapping> SdkBuilder<DestinationPortMapping.Builder,
,DestinationPortMapping> SdkPojo
- Enclosing class:
DestinationPortMapping
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorArn
(String acceleratorArn) The Amazon Resource Name (ARN) of the custom routing accelerator that you have port mappings for.acceleratorSocketAddresses
(Collection<SocketAddress> acceleratorSocketAddresses) The IP address/port combinations (sockets) that map to a given destination socket address.acceleratorSocketAddresses
(Consumer<SocketAddress.Builder>... acceleratorSocketAddresses) The IP address/port combinations (sockets) that map to a given destination socket address.acceleratorSocketAddresses
(SocketAddress... acceleratorSocketAddresses) The IP address/port combinations (sockets) that map to a given destination socket address.default DestinationPortMapping.Builder
destinationSocketAddress
(Consumer<SocketAddress.Builder> destinationSocketAddress) The endpoint IP address/port combination for traffic received on the accelerator socket address.destinationSocketAddress
(SocketAddress destinationSocketAddress) The endpoint IP address/port combination for traffic received on the accelerator socket address.destinationTrafficState
(String destinationTrafficState) Indicates whether or not a port mapping destination can receive traffic.destinationTrafficState
(CustomRoutingDestinationTrafficState destinationTrafficState) Indicates whether or not a port mapping destination can receive traffic.endpointGroupArn
(String endpointGroupArn) The Amazon Resource Name (ARN) of the endpoint group.endpointGroupRegion
(String endpointGroupRegion) The Amazon Web Services Region for the endpoint group.endpointId
(String endpointId) The ID for the virtual private cloud (VPC) subnet.ipAddressType
(String ipAddressType) The IP address type that an accelerator supports.ipAddressType
(IpAddressType ipAddressType) The IP address type that an accelerator supports.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 Details
-
acceleratorArn
The Amazon Resource Name (ARN) of the custom routing accelerator that you have port mappings for.
- Parameters:
acceleratorArn
- The Amazon Resource Name (ARN) of the custom routing accelerator that you have port mappings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorSocketAddresses
DestinationPortMapping.Builder acceleratorSocketAddresses(Collection<SocketAddress> acceleratorSocketAddresses) The IP address/port combinations (sockets) that map to a given destination socket address.
- Parameters:
acceleratorSocketAddresses
- The IP address/port combinations (sockets) that map to a given destination socket address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorSocketAddresses
DestinationPortMapping.Builder acceleratorSocketAddresses(SocketAddress... acceleratorSocketAddresses) The IP address/port combinations (sockets) that map to a given destination socket address.
- Parameters:
acceleratorSocketAddresses
- The IP address/port combinations (sockets) that map to a given destination socket address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorSocketAddresses
DestinationPortMapping.Builder acceleratorSocketAddresses(Consumer<SocketAddress.Builder>... acceleratorSocketAddresses) The IP address/port combinations (sockets) that map to a given destination socket address.
This is a convenience method that creates an instance of theSocketAddress.Builder
avoiding the need to create one manually viaSocketAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacceleratorSocketAddresses(List<SocketAddress>)
.- Parameters:
acceleratorSocketAddresses
- a consumer that will call methods onSocketAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointGroupArn
The Amazon Resource Name (ARN) of the endpoint group.
- Parameters:
endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointId
The ID for the virtual private cloud (VPC) subnet.
- Parameters:
endpointId
- The ID for the virtual private cloud (VPC) subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroupRegion
The Amazon Web Services Region for the endpoint group.
- Parameters:
endpointGroupRegion
- The Amazon Web Services Region for the endpoint group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationSocketAddress
The endpoint IP address/port combination for traffic received on the accelerator socket address.
- Parameters:
destinationSocketAddress
- The endpoint IP address/port combination for traffic received on the accelerator socket address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationSocketAddress
default DestinationPortMapping.Builder destinationSocketAddress(Consumer<SocketAddress.Builder> destinationSocketAddress) The endpoint IP address/port combination for traffic received on the accelerator socket address.
This is a convenience method that creates an instance of theSocketAddress.Builder
avoiding the need to create one manually viaSocketAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationSocketAddress(SocketAddress)
.- Parameters:
destinationSocketAddress
- a consumer that will call methods onSocketAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipAddressType
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
- Parameters:
ipAddressType
- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipAddressType
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
- Parameters:
ipAddressType
- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationTrafficState
Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.
- Parameters:
destinationTrafficState
- Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationTrafficState
DestinationPortMapping.Builder destinationTrafficState(CustomRoutingDestinationTrafficState destinationTrafficState) Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.
- Parameters:
destinationTrafficState
- Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-