public static interface AttachTrafficSourcesRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<AttachTrafficSourcesRequest.Builder,AttachTrafficSourcesRequest>
| Modifier and Type | Method and Description |
|---|---|
AttachTrafficSourcesRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
AttachTrafficSourcesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AttachTrafficSourcesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AttachTrafficSourcesRequest.Builder |
trafficSources(Collection<TrafficSourceIdentifier> trafficSources)
The unique identifiers of one or more traffic sources.
|
AttachTrafficSourcesRequest.Builder |
trafficSources(Consumer<TrafficSourceIdentifier.Builder>... trafficSources)
The unique identifiers of one or more traffic sources.
|
AttachTrafficSourcesRequest.Builder |
trafficSources(TrafficSourceIdentifier... trafficSources)
The unique identifiers of one or more traffic sources.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAttachTrafficSourcesRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.AttachTrafficSourcesRequest.Builder trafficSources(Collection<TrafficSourceIdentifier> trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. Amazon EC2 Auto Scaling registers the running instances with the attached target groups. The target groups receive incoming traffic and route requests to one or more registered targets.
trafficSources - The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. Amazon EC2 Auto Scaling registers the running instances with the attached target groups. The target groups receive incoming traffic and route requests to one or more registered targets.
AttachTrafficSourcesRequest.Builder trafficSources(TrafficSourceIdentifier... trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. Amazon EC2 Auto Scaling registers the running instances with the attached target groups. The target groups receive incoming traffic and route requests to one or more registered targets.
trafficSources - The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. Amazon EC2 Auto Scaling registers the running instances with the attached target groups. The target groups receive incoming traffic and route requests to one or more registered targets.
AttachTrafficSourcesRequest.Builder trafficSources(Consumer<TrafficSourceIdentifier.Builder>... trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. Amazon EC2 Auto Scaling registers the running instances with the attached target groups. The target groups receive incoming traffic and route requests to one or more registered targets.
This is a convenience method that creates an instance of theTrafficSourceIdentifier.Builder avoiding the need
to create one manually via
TrafficSourceIdentifier.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #trafficSources(List.
trafficSources - a consumer that will call methods on
TrafficSourceIdentifier.Builder#trafficSources(java.util.Collection) AttachTrafficSourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAttachTrafficSourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.