Interface AttachTrafficSourcesRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<AttachTrafficSourcesRequest.Builder,AttachTrafficSourcesRequest>,SdkBuilder<AttachTrafficSourcesRequest.Builder,AttachTrafficSourcesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AttachTrafficSourcesRequest
public static interface AttachTrafficSourcesRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<AttachTrafficSourcesRequest.Builder,AttachTrafficSourcesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachTrafficSourcesRequest.BuilderautoScalingGroupName(String autoScalingGroupName)The name of the Auto Scaling group.AttachTrafficSourcesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AttachTrafficSourcesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AttachTrafficSourcesRequest.BuildertrafficSources(Collection<TrafficSourceIdentifier> trafficSources)The unique identifiers of one or more traffic sources.AttachTrafficSourcesRequest.BuildertrafficSources(Consumer<TrafficSourceIdentifier.Builder>... trafficSources)The unique identifiers of one or more traffic sources.AttachTrafficSourcesRequest.BuildertrafficSources(TrafficSourceIdentifier... trafficSources)The unique identifiers of one or more traffic sources.-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
build
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
autoScalingGroupName
AttachTrafficSourcesRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
- Parameters:
autoScalingGroupName- The name of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSources
AttachTrafficSourcesRequest.Builder trafficSources(Collection<TrafficSourceIdentifier> trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
- Parameters:
trafficSources- The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSources
AttachTrafficSourcesRequest.Builder trafficSources(TrafficSourceIdentifier... trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
- Parameters:
trafficSources- The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSources
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.Builderavoiding the need to create one manually viaTrafficSourceIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#trafficSources(List.) - Parameters:
trafficSources- a consumer that will call methods onTrafficSourceIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#trafficSources(java.util.Collection)
-
overrideConfiguration
AttachTrafficSourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AttachTrafficSourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-