Interface DetachTrafficSourcesRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<DetachTrafficSourcesRequest.Builder,DetachTrafficSourcesRequest>,SdkBuilder<DetachTrafficSourcesRequest.Builder,DetachTrafficSourcesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DetachTrafficSourcesRequest
public static interface DetachTrafficSourcesRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<DetachTrafficSourcesRequest.Builder,DetachTrafficSourcesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetachTrafficSourcesRequest.BuilderautoScalingGroupName(String autoScalingGroupName)The name of the Auto Scaling group.DetachTrafficSourcesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DetachTrafficSourcesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DetachTrafficSourcesRequest.BuildertrafficSources(Collection<TrafficSourceIdentifier> trafficSources)The unique identifiers of one or more traffic sources.DetachTrafficSourcesRequest.BuildertrafficSources(Consumer<TrafficSourceIdentifier.Builder>... trafficSources)The unique identifiers of one or more traffic sources.DetachTrafficSourcesRequest.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
autoScalingGroupName
DetachTrafficSourcesRequest.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
DetachTrafficSourcesRequest.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
DetachTrafficSourcesRequest.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
DetachTrafficSourcesRequest.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
DetachTrafficSourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DetachTrafficSourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-