Interface CreateCustomRoutingListenerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateCustomRoutingListenerRequest.Builder,
,CreateCustomRoutingListenerRequest> GlobalAcceleratorRequest.Builder
,SdkBuilder<CreateCustomRoutingListenerRequest.Builder,
,CreateCustomRoutingListenerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCustomRoutingListenerRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorArn
(String acceleratorArn) The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.idempotencyToken
(String idempotencyToken) A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.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 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.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
-
acceleratorArn
The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.
- Parameters:
acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator for a custom routing 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:
-
idempotencyToken
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
- Parameters:
idempotencyToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCustomRoutingListenerRequest.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
CreateCustomRoutingListenerRequest.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.
-