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
Modifier and TypeMethodDescriptionapplicationAutoScalingPolicies(Collection<ManagedApplicationAutoScalingPolicy> applicationAutoScalingPolicies) The policy used for auto scaling.applicationAutoScalingPolicies(Consumer<ManagedApplicationAutoScalingPolicy.Builder>... applicationAutoScalingPolicies) The policy used for auto scaling.applicationAutoScalingPolicies(ManagedApplicationAutoScalingPolicy... applicationAutoScalingPolicies) The policy used for auto scaling.default ManagedAutoScaling.BuilderscalableTarget(Consumer<ManagedScalableTarget.Builder> scalableTarget) Represents a scalable target.scalableTarget(ManagedScalableTarget scalableTarget) Represents a scalable target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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 toapplicationAutoScalingPolicies(List<ManagedApplicationAutoScalingPolicy>).- 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:
-