Interface CreateCustomRoutingEndpointGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateCustomRoutingEndpointGroupRequest.Builder,
,CreateCustomRoutingEndpointGroupRequest> GlobalAcceleratorRequest.Builder
,SdkBuilder<CreateCustomRoutingEndpointGroupRequest.Builder,
,CreateCustomRoutingEndpointGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCustomRoutingEndpointGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestinationConfigurations
(Collection<CustomRoutingDestinationConfiguration> destinationConfigurations) Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.destinationConfigurations
(Consumer<CustomRoutingDestinationConfiguration.Builder>... destinationConfigurations) Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.destinationConfigurations
(CustomRoutingDestinationConfiguration... destinationConfigurations) Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.endpointGroupRegion
(String endpointGroupRegion) The Amazon Web Services Region where the endpoint group is located.idempotencyToken
(String idempotencyToken) A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.listenerArn
(String listenerArn) The Amazon Resource Name (ARN) of the listener for a 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
-
listenerArn
The Amazon Resource Name (ARN) of the listener for a custom routing endpoint.
- Parameters:
listenerArn
- The Amazon Resource Name (ARN) of the listener for a custom routing endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroupRegion
The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.
- Parameters:
endpointGroupRegion
- The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfigurations
CreateCustomRoutingEndpointGroupRequest.Builder destinationConfigurations(Collection<CustomRoutingDestinationConfiguration> destinationConfigurations) Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.
- Parameters:
destinationConfigurations
- Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfigurations
CreateCustomRoutingEndpointGroupRequest.Builder destinationConfigurations(CustomRoutingDestinationConfiguration... destinationConfigurations) Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.
- Parameters:
destinationConfigurations
- Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfigurations
CreateCustomRoutingEndpointGroupRequest.Builder destinationConfigurations(Consumer<CustomRoutingDestinationConfiguration.Builder>... destinationConfigurations) Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.
This is a convenience method that creates an instance of theCustomRoutingDestinationConfiguration.Builder
avoiding the need to create one manually viaCustomRoutingDestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationConfigurations(List<CustomRoutingDestinationConfiguration>)
.- Parameters:
destinationConfigurations
- a consumer that will call methods onCustomRoutingDestinationConfiguration.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
CreateCustomRoutingEndpointGroupRequest.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
CreateCustomRoutingEndpointGroupRequest.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.
-