Interface UpdateCustomRoutingListenerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCustomRoutingListenerRequest.Builder,
,UpdateCustomRoutingListenerRequest> GlobalAcceleratorRequest.Builder
,SdkBuilder<UpdateCustomRoutingListenerRequest.Builder,
,UpdateCustomRoutingListenerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCustomRoutingListenerRequest
-
Method Summary
Modifier and TypeMethodDescriptionlistenerArn
(String listenerArn) The Amazon Resource Name (ARN) of the listener to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.portRanges
(Collection<PortRange> portRanges) The updated port range to support for connections from clients to your accelerator.portRanges
(Consumer<PortRange.Builder>... portRanges) The updated port range to support for connections from clients to your accelerator.portRanges
(PortRange... portRanges) The updated port range to support for connections from clients to your accelerator.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest.Builder
build
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 to update.
- Parameters:
listenerArn
- The Amazon Resource Name (ARN) of the listener to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
The updated port range to support for connections from clients to your accelerator. If you remove ports that are currently being used by a subnet endpoint, the call fails.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
- Parameters:
portRanges
- The updated port range to support for connections from clients to your accelerator. If you remove ports that are currently being used by a subnet endpoint, the call fails.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 updated port range to support for connections from clients to your accelerator. If you remove ports that are currently being used by a subnet endpoint, the call fails.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
- Parameters:
portRanges
- The updated port range to support for connections from clients to your accelerator. If you remove ports that are currently being used by a subnet endpoint, the call fails.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 updated port range to support for connections from clients to your accelerator. If you remove ports that are currently being used by a subnet endpoint, the call fails.
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:
-
overrideConfiguration
UpdateCustomRoutingListenerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCustomRoutingListenerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-