Interface CustomRoutingListener.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomRoutingListener.Builder,
,CustomRoutingListener> SdkBuilder<CustomRoutingListener.Builder,
,CustomRoutingListener> SdkPojo
- Enclosing class:
CustomRoutingListener
-
Method Summary
Modifier and TypeMethodDescriptionlistenerArn
(String listenerArn) The Amazon Resource Name (ARN) of the listener.portRanges
(Collection<PortRange> portRanges) The port range to support for connections from clients to your accelerator.portRanges
(Consumer<PortRange.Builder>... portRanges) The port range to support for connections from clients to your accelerator.portRanges
(PortRange... portRanges) The port range to support for connections from clients to your accelerator.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
-
listenerArn
The Amazon Resource Name (ARN) of the listener.
- Parameters:
listenerArn
- The Amazon Resource Name (ARN) of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
- Parameters:
portRanges
- The port range to support for connections from clients to your accelerator.Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
- Parameters:
portRanges
- The port range to support for connections from clients to your accelerator.Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
This is a convenience method that creates an instance of thePortRange.Builder
avoiding the need to create one manually viaPortRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportRanges(List<PortRange>)
.- Parameters:
portRanges
- a consumer that will call methods onPortRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-