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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaCustomRoutingDestinationConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-