Interface DestinationPortMapping.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DestinationPortMapping.Builder,DestinationPortMapping>,SdkBuilder<DestinationPortMapping.Builder,DestinationPortMapping>,SdkPojo
- Enclosing class:
- DestinationPortMapping
public static interface DestinationPortMapping.Builder extends SdkPojo, CopyableBuilder<DestinationPortMapping.Builder,DestinationPortMapping>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DestinationPortMapping.BuilderacceleratorArn(String acceleratorArn)The Amazon Resource Name (ARN) of the custom routing accelerator that you have port mappings for.DestinationPortMapping.BuilderacceleratorSocketAddresses(Collection<SocketAddress> acceleratorSocketAddresses)The IP address/port combinations (sockets) that map to a given destination socket address.DestinationPortMapping.BuilderacceleratorSocketAddresses(Consumer<SocketAddress.Builder>... acceleratorSocketAddresses)The IP address/port combinations (sockets) that map to a given destination socket address.DestinationPortMapping.BuilderacceleratorSocketAddresses(SocketAddress... acceleratorSocketAddresses)The IP address/port combinations (sockets) that map to a given destination socket address.default DestinationPortMapping.BuilderdestinationSocketAddress(Consumer<SocketAddress.Builder> destinationSocketAddress)The endpoint IP address/port combination for traffic received on the accelerator socket address.DestinationPortMapping.BuilderdestinationSocketAddress(SocketAddress destinationSocketAddress)The endpoint IP address/port combination for traffic received on the accelerator socket address.DestinationPortMapping.BuilderdestinationTrafficState(String destinationTrafficState)Indicates whether or not a port mapping destination can receive traffic.DestinationPortMapping.BuilderdestinationTrafficState(CustomRoutingDestinationTrafficState destinationTrafficState)Indicates whether or not a port mapping destination can receive traffic.DestinationPortMapping.BuilderendpointGroupArn(String endpointGroupArn)The Amazon Resource Name (ARN) of the endpoint group.DestinationPortMapping.BuilderendpointGroupRegion(String endpointGroupRegion)The Amazon Web Services Region for the endpoint group.DestinationPortMapping.BuilderendpointId(String endpointId)The ID for the virtual private cloud (VPC) subnet.DestinationPortMapping.BuilderipAddressType(String ipAddressType)The IP address type that an accelerator supports.DestinationPortMapping.BuilderipAddressType(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
acceleratorArn
DestinationPortMapping.Builder acceleratorArn(String 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.Builderavoiding the need to create one manually viaSocketAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#acceleratorSocketAddresses(List.) - 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:
#acceleratorSocketAddresses(java.util.Collection)
-
endpointGroupArn
DestinationPortMapping.Builder endpointGroupArn(String 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
DestinationPortMapping.Builder endpointId(String 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
DestinationPortMapping.Builder endpointGroupRegion(String 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
DestinationPortMapping.Builder destinationSocketAddress(SocketAddress 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.Builderavoiding the need to create one manually viaSocketAddress.builder().When the
Consumercompletes,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:
destinationSocketAddress(SocketAddress)
-
ipAddressType
DestinationPortMapping.Builder ipAddressType(String 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,IpAddressType
-
ipAddressType
DestinationPortMapping.Builder ipAddressType(IpAddressType 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,IpAddressType
-
destinationTrafficState
DestinationPortMapping.Builder destinationTrafficState(String 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:
CustomRoutingDestinationTrafficState,CustomRoutingDestinationTrafficState
-
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:
CustomRoutingDestinationTrafficState,CustomRoutingDestinationTrafficState
-
-