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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
AttachTrafficSourcesRequest.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.
trafficSources
- The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.AttachTrafficSourcesRequest.Builder trafficSources(TrafficSourceIdentifier... trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
trafficSources
- The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.AttachTrafficSourcesRequest.Builder trafficSources(Consumer<TrafficSourceIdentifier.Builder>... trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
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.Builder
AttachTrafficSourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.