Class CfnStack.StackConfigurationManagerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnStack.StackConfigurationManagerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStack.StackConfigurationManagerProperty>
- Enclosing interface:
CfnStack.StackConfigurationManagerProperty
@Stability(Stable)
public static final class CfnStack.StackConfigurationManagerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStack.StackConfigurationManagerProperty>
A builder for
CfnStack.StackConfigurationManagerProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStack.StackConfigurationManagerProperty.getName()Sets the value ofCfnStack.StackConfigurationManagerProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnStack.StackConfigurationManagerProperty.getName()- Parameters:
name- The name. This parameter must be set toChef.- Returns:
this
-
version
@Stability(Stable) public CfnStack.StackConfigurationManagerProperty.Builder version(String version) Sets the value ofCfnStack.StackConfigurationManagerProperty.getVersion()- Parameters:
version- The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 12.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStack.StackConfigurationManagerProperty>- Returns:
- a new instance of
CfnStack.StackConfigurationManagerProperty - Throws:
NullPointerException- if any required attribute was not provided
-