Interface ManagedAutoScaling.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedAutoScaling.Builder,ManagedAutoScaling>,SdkBuilder<ManagedAutoScaling.Builder,ManagedAutoScaling>,SdkPojo
- Enclosing class:
- ManagedAutoScaling
@Mutable @NotThreadSafe public static interface ManagedAutoScaling.Builder extends SdkPojo, CopyableBuilder<ManagedAutoScaling.Builder,ManagedAutoScaling>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ManagedAutoScaling.BuilderapplicationAutoScalingPolicies(Collection<ManagedApplicationAutoScalingPolicy> applicationAutoScalingPolicies)The policy used for auto scaling.ManagedAutoScaling.BuilderapplicationAutoScalingPolicies(Consumer<ManagedApplicationAutoScalingPolicy.Builder>... applicationAutoScalingPolicies)The policy used for auto scaling.ManagedAutoScaling.BuilderapplicationAutoScalingPolicies(ManagedApplicationAutoScalingPolicy... applicationAutoScalingPolicies)The policy used for auto scaling.default ManagedAutoScaling.BuilderscalableTarget(Consumer<ManagedScalableTarget.Builder> scalableTarget)Represents a scalable target.ManagedAutoScaling.BuilderscalableTarget(ManagedScalableTarget scalableTarget)Represents a scalable target.-
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
-
scalableTarget
ManagedAutoScaling.Builder scalableTarget(ManagedScalableTarget scalableTarget)
Represents a scalable target.
- Parameters:
scalableTarget- Represents a scalable target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalableTarget
default ManagedAutoScaling.Builder scalableTarget(Consumer<ManagedScalableTarget.Builder> scalableTarget)
Represents a scalable target.
This is a convenience method that creates an instance of theManagedScalableTarget.Builderavoiding the need to create one manually viaManagedScalableTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscalableTarget(ManagedScalableTarget).- Parameters:
scalableTarget- a consumer that will call methods onManagedScalableTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scalableTarget(ManagedScalableTarget)
-
applicationAutoScalingPolicies
ManagedAutoScaling.Builder applicationAutoScalingPolicies(Collection<ManagedApplicationAutoScalingPolicy> applicationAutoScalingPolicies)
The policy used for auto scaling.
- Parameters:
applicationAutoScalingPolicies- The policy used for auto scaling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationAutoScalingPolicies
ManagedAutoScaling.Builder applicationAutoScalingPolicies(ManagedApplicationAutoScalingPolicy... applicationAutoScalingPolicies)
The policy used for auto scaling.
- Parameters:
applicationAutoScalingPolicies- The policy used for auto scaling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationAutoScalingPolicies
ManagedAutoScaling.Builder applicationAutoScalingPolicies(Consumer<ManagedApplicationAutoScalingPolicy.Builder>... applicationAutoScalingPolicies)
The policy used for auto scaling.
This is a convenience method that creates an instance of theManagedApplicationAutoScalingPolicy.Builderavoiding the need to create one manually viaManagedApplicationAutoScalingPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#applicationAutoScalingPolicies(List.) - Parameters:
applicationAutoScalingPolicies- a consumer that will call methods onManagedApplicationAutoScalingPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#applicationAutoScalingPolicies(java.util.Collection)
-
-