public static interface CustomRoutingListener.Builder extends SdkPojo, CopyableBuilder<CustomRoutingListener.Builder,CustomRoutingListener>
| Modifier and Type | Method and Description |
|---|---|
CustomRoutingListener.Builder |
listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
CustomRoutingListener.Builder |
portRanges(Collection<PortRange> portRanges)
The port range to support for connections from clients to your accelerator.
|
CustomRoutingListener.Builder |
portRanges(Consumer<PortRange.Builder>... portRanges)
The port range to support for connections from clients to your accelerator.
|
CustomRoutingListener.Builder |
portRanges(PortRange... portRanges)
The port range to support for connections from clients to your accelerator.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomRoutingListener.Builder listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn - The Amazon Resource Name (ARN) of the listener.CustomRoutingListener.Builder portRanges(Collection<PortRange> 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.
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.
CustomRoutingListener.Builder portRanges(PortRange... 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.
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.
CustomRoutingListener.Builder portRanges(Consumer<PortRange.Builder>... 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 via PortRange.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #portRanges(List.
portRanges - a consumer that will call methods on
PortRange.Builder#portRanges(java.util.Collection) Copyright © 2022. All rights reserved.