public static interface PortMapping.Builder extends SdkPojo, CopyableBuilder<PortMapping.Builder,PortMapping>
| Modifier and Type | Method and Description |
|---|---|
PortMapping.Builder |
acceleratorPort(Integer acceleratorPort)
The accelerator port.
|
default PortMapping.Builder |
destinationSocketAddress(Consumer<SocketAddress.Builder> destinationSocketAddress)
The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
|
PortMapping.Builder |
destinationSocketAddress(SocketAddress destinationSocketAddress)
The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
|
PortMapping.Builder |
destinationTrafficState(CustomRoutingDestinationTrafficState destinationTrafficState)
Indicates whether or not a port mapping destination can receive traffic.
|
PortMapping.Builder |
destinationTrafficState(String destinationTrafficState)
Indicates whether or not a port mapping destination can receive traffic.
|
PortMapping.Builder |
endpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
|
PortMapping.Builder |
endpointId(String endpointId)
The IP address of the VPC subnet (the subnet ID).
|
PortMapping.Builder |
protocols(Collection<CustomRoutingProtocol> protocols)
The protocols supported by the endpoint group.
|
PortMapping.Builder |
protocols(CustomRoutingProtocol... protocols)
The protocols supported by the endpoint group.
|
PortMapping.Builder |
protocolsWithStrings(Collection<String> protocols)
The protocols supported by the endpoint group.
|
PortMapping.Builder |
protocolsWithStrings(String... protocols)
The protocols supported by the endpoint group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPortMapping.Builder acceleratorPort(Integer acceleratorPort)
The accelerator port.
acceleratorPort - The accelerator port.PortMapping.Builder endpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
endpointGroupArn - The Amazon Resource Name (ARN) of the endpoint group.PortMapping.Builder endpointId(String endpointId)
The IP address of the VPC subnet (the subnet ID).
endpointId - The IP address of the VPC subnet (the subnet ID).PortMapping.Builder destinationSocketAddress(SocketAddress destinationSocketAddress)
The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
destinationSocketAddress - The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.default PortMapping.Builder destinationSocketAddress(Consumer<SocketAddress.Builder> destinationSocketAddress)
The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
This is a convenience method that creates an instance of theSocketAddress.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).
destinationSocketAddress - a consumer that will call methods on SocketAddress.BuilderdestinationSocketAddress(SocketAddress)PortMapping.Builder protocolsWithStrings(Collection<String> protocols)
The protocols supported by the endpoint group.
protocols - The protocols supported by the endpoint group.PortMapping.Builder protocolsWithStrings(String... protocols)
The protocols supported by the endpoint group.
protocols - The protocols supported by the endpoint group.PortMapping.Builder protocols(Collection<CustomRoutingProtocol> protocols)
The protocols supported by the endpoint group.
protocols - The protocols supported by the endpoint group.PortMapping.Builder protocols(CustomRoutingProtocol... protocols)
The protocols supported by the endpoint group.
protocols - The protocols supported by the endpoint group.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.
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.CustomRoutingDestinationTrafficState,
CustomRoutingDestinationTrafficStatePortMapping.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.
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.CustomRoutingDestinationTrafficState,
CustomRoutingDestinationTrafficStateCopyright © 2023. All rights reserved.