Interface AddCustomRoutingEndpointsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddCustomRoutingEndpointsRequest.Builder,
,AddCustomRoutingEndpointsRequest> GlobalAcceleratorRequest.Builder
,SdkBuilder<AddCustomRoutingEndpointsRequest.Builder,
,AddCustomRoutingEndpointsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddCustomRoutingEndpointsRequest
public static interface AddCustomRoutingEndpointsRequest.Builder
extends GlobalAcceleratorRequest.Builder, SdkPojo, CopyableBuilder<AddCustomRoutingEndpointsRequest.Builder,AddCustomRoutingEndpointsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionendpointConfigurations
(Collection<CustomRoutingEndpointConfiguration> endpointConfigurations) The list of endpoint objects to add to a custom routing accelerator.endpointConfigurations
(Consumer<CustomRoutingEndpointConfiguration.Builder>... endpointConfigurations) The list of endpoint objects to add to a custom routing accelerator.endpointConfigurations
(CustomRoutingEndpointConfiguration... endpointConfigurations) The list of endpoint objects to add to a custom routing accelerator.endpointGroupArn
(String endpointGroupArn) The Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
endpointConfigurations
AddCustomRoutingEndpointsRequest.Builder endpointConfigurations(Collection<CustomRoutingEndpointConfiguration> endpointConfigurations) The list of endpoint objects to add to a custom routing accelerator.
- Parameters:
endpointConfigurations
- The list of endpoint objects to add to a custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigurations
AddCustomRoutingEndpointsRequest.Builder endpointConfigurations(CustomRoutingEndpointConfiguration... endpointConfigurations) The list of endpoint objects to add to a custom routing accelerator.
- Parameters:
endpointConfigurations
- The list of endpoint objects to add to a custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigurations
AddCustomRoutingEndpointsRequest.Builder endpointConfigurations(Consumer<CustomRoutingEndpointConfiguration.Builder>... endpointConfigurations) The list of endpoint objects to add to a custom routing accelerator.
This is a convenience method that creates an instance of theCustomRoutingEndpointConfiguration.Builder
avoiding the need to create one manually viaCustomRoutingEndpointConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointConfigurations(List<CustomRoutingEndpointConfiguration>)
.- Parameters:
endpointConfigurations
- a consumer that will call methods onCustomRoutingEndpointConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointGroupArn
The Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.
- Parameters:
endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddCustomRoutingEndpointsRequest.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
AddCustomRoutingEndpointsRequest.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.
-