Interface PortMapping.Builder

    • Method Detail

      • acceleratorPort

        PortMapping.Builder acceleratorPort​(Integer acceleratorPort)

        The accelerator port.

        Parameters:
        acceleratorPort - The accelerator port.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointGroupArn

        PortMapping.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

        PortMapping.Builder endpointId​(String endpointId)

        The IP address of the VPC subnet (the subnet ID).

        Parameters:
        endpointId - The IP address of the VPC subnet (the subnet ID).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationSocketAddress

        PortMapping.Builder destinationSocketAddress​(SocketAddress destinationSocketAddress)

        The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.

        Parameters:
        destinationSocketAddress - The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocolsWithStrings

        PortMapping.Builder protocolsWithStrings​(Collection<String> protocols)

        The protocols supported by the endpoint group.

        Parameters:
        protocols - The protocols supported by the endpoint group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocolsWithStrings

        PortMapping.Builder protocolsWithStrings​(String... protocols)

        The protocols supported by the endpoint group.

        Parameters:
        protocols - The protocols supported by the endpoint group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocols

        PortMapping.Builder protocols​(Collection<CustomRoutingProtocol> protocols)

        The protocols supported by the endpoint group.

        Parameters:
        protocols - The protocols supported by the endpoint group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocols

        PortMapping.Builder protocols​(CustomRoutingProtocol... protocols)

        The protocols supported by the endpoint group.

        Parameters:
        protocols - The protocols supported by the endpoint group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationTrafficState

        PortMapping.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

        PortMapping.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