Interface CreateCustomRoutingListenerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCustomRoutingListenerRequest.Builder,CreateCustomRoutingListenerRequest>,GlobalAcceleratorRequest.Builder,SdkBuilder<CreateCustomRoutingListenerRequest.Builder,CreateCustomRoutingListenerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCustomRoutingListenerRequest
public static interface CreateCustomRoutingListenerRequest.Builder extends GlobalAcceleratorRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomRoutingListenerRequest.Builder,CreateCustomRoutingListenerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCustomRoutingListenerRequest.BuilderacceleratorArn(String acceleratorArn)The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.CreateCustomRoutingListenerRequest.BuilderidempotencyToken(String idempotencyToken)A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.CreateCustomRoutingListenerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCustomRoutingListenerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCustomRoutingListenerRequest.BuilderportRanges(Collection<PortRange> portRanges)The port range to support for connections from clients to your accelerator.CreateCustomRoutingListenerRequest.BuilderportRanges(Consumer<PortRange.Builder>... portRanges)The port range to support for connections from clients to your accelerator.CreateCustomRoutingListenerRequest.BuilderportRanges(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
acceleratorArn
CreateCustomRoutingListenerRequest.Builder acceleratorArn(String 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
CreateCustomRoutingListenerRequest.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.
- 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
CreateCustomRoutingListenerRequest.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.
- 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
CreateCustomRoutingListenerRequest.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.Builderavoiding the need to create one manually viaPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#portRanges(List.) - 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:
#portRanges(java.util.Collection)
-
idempotencyToken
CreateCustomRoutingListenerRequest.Builder idempotencyToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCustomRoutingListenerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-