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
-
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, sdkFieldNameToField, 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)
-
skipZonalShiftValidation
AttachTrafficSourcesRequest.Builder skipZonalShiftValidation(Boolean skipZonalShiftValidation)
If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify
true. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.- Parameters:
skipZonalShiftValidation- If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specifytrue. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AttachTrafficSourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AttachTrafficSourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-