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 Details

    • 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 the SocketAddress.Builder avoiding the need to create one manually via SocketAddress.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to acceleratorSocketAddresses(List<SocketAddress>).

      Parameters:
      acceleratorSocketAddresses - a consumer that will call methods on SocketAddress.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the SocketAddress.Builder avoiding the need to create one manually via SocketAddress.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to destinationSocketAddress(SocketAddress).

      Parameters:
      destinationSocketAddress - a consumer that will call methods on SocketAddress.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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:
    • 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: