Interface UpdateCustomRoutingListenerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCustomRoutingListenerRequest.Builder,UpdateCustomRoutingListenerRequest>,GlobalAcceleratorRequest.Builder,SdkBuilder<UpdateCustomRoutingListenerRequest.Builder,UpdateCustomRoutingListenerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateCustomRoutingListenerRequest
public static interface UpdateCustomRoutingListenerRequest.Builder extends GlobalAcceleratorRequest.Builder, SdkPojo, CopyableBuilder<UpdateCustomRoutingListenerRequest.Builder,UpdateCustomRoutingListenerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateCustomRoutingListenerRequest.BuilderlistenerArn(String listenerArn)The Amazon Resource Name (ARN) of the listener to update.UpdateCustomRoutingListenerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateCustomRoutingListenerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateCustomRoutingListenerRequest.BuilderportRanges(Collection<PortRange> portRanges)The updated port range to support for connections from clients to your accelerator.UpdateCustomRoutingListenerRequest.BuilderportRanges(Consumer<PortRange.Builder>... portRanges)The updated port range to support for connections from clients to your accelerator.UpdateCustomRoutingListenerRequest.BuilderportRanges(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 Detail
-
listenerArn
UpdateCustomRoutingListenerRequest.Builder listenerArn(String 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
UpdateCustomRoutingListenerRequest.Builder portRanges(Collection<PortRange> 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
UpdateCustomRoutingListenerRequest.Builder portRanges(PortRange... 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
UpdateCustomRoutingListenerRequest.Builder portRanges(Consumer<PortRange.Builder>... 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.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)
-
overrideConfiguration
UpdateCustomRoutingListenerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCustomRoutingListenerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-