Class AutoScalingConfigurationAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.alpha.AutoScalingConfigurationAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AutoScalingConfigurationAttributes>
- Enclosing interface:
AutoScalingConfigurationAttributes
@Stability(Experimental)
public static final class AutoScalingConfigurationAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<AutoScalingConfigurationAttributes>
A builder for
AutoScalingConfigurationAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingConfigurationName
(String autoScalingConfigurationName) Sets the value ofAutoScalingConfigurationAttributes.getAutoScalingConfigurationName()
autoScalingConfigurationRevision
(Number autoScalingConfigurationRevision) Sets the value ofAutoScalingConfigurationAttributes.getAutoScalingConfigurationRevision()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoScalingConfigurationName
@Stability(Experimental) public AutoScalingConfigurationAttributes.Builder autoScalingConfigurationName(String autoScalingConfigurationName) Sets the value ofAutoScalingConfigurationAttributes.getAutoScalingConfigurationName()
- Parameters:
autoScalingConfigurationName
- The name of the Auto Scaling Configuration. This parameter is required.- Returns:
this
-
autoScalingConfigurationRevision
@Stability(Experimental) public AutoScalingConfigurationAttributes.Builder autoScalingConfigurationRevision(Number autoScalingConfigurationRevision) Sets the value ofAutoScalingConfigurationAttributes.getAutoScalingConfigurationRevision()
- Parameters:
autoScalingConfigurationRevision
- The revision of the Auto Scaling Configuration. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AutoScalingConfigurationAttributes>
- Returns:
- a new instance of
AutoScalingConfigurationAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-