Class LaunchConfigurationReference.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.LaunchConfigurationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchConfigurationReference>
- Enclosing interface:
LaunchConfigurationReference
@Stability(Stable)
public static final class LaunchConfigurationReference.Builder
extends Object
implements software.amazon.jsii.Builder<LaunchConfigurationReference>
A builder for
LaunchConfigurationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.launchConfigurationName
(String launchConfigurationName) Sets the value ofLaunchConfigurationReference.getLaunchConfigurationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
launchConfigurationName
@Stability(Stable) public LaunchConfigurationReference.Builder launchConfigurationName(String launchConfigurationName) Sets the value ofLaunchConfigurationReference.getLaunchConfigurationName()
- Parameters:
launchConfigurationName
- The LaunchConfigurationName of the LaunchConfiguration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LaunchConfigurationReference>
- Returns:
- a new instance of
LaunchConfigurationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-