Class CfnLayer.RecipesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnLayer.RecipesProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnLayer.RecipesProperty>
- Enclosing interface:
 - CfnLayer.RecipesProperty
 
@Stability(Stable)
public static final class CfnLayer.RecipesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLayer.RecipesProperty>
A builder for 
CfnLayer.RecipesProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLayer.RecipesProperty.getConfigure()Sets the value ofCfnLayer.RecipesProperty.getDeploy()Sets the value ofCfnLayer.RecipesProperty.getSetup()Sets the value ofCfnLayer.RecipesProperty.getShutdown()Sets the value ofCfnLayer.RecipesProperty.getUndeploy() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
configure
Sets the value ofCfnLayer.RecipesProperty.getConfigure()- Parameters:
 configure- An array of custom recipe names to be run following aconfigureevent.- Returns:
 this
 - 
deploy
Sets the value ofCfnLayer.RecipesProperty.getDeploy()- Parameters:
 deploy- An array of custom recipe names to be run following adeployevent.- Returns:
 this
 - 
setup
Sets the value ofCfnLayer.RecipesProperty.getSetup()- Parameters:
 setup- An array of custom recipe names to be run following asetupevent.- Returns:
 this
 - 
shutdown
Sets the value ofCfnLayer.RecipesProperty.getShutdown()- Parameters:
 shutdown- An array of custom recipe names to be run following ashutdownevent.- Returns:
 this
 - 
undeploy
Sets the value ofCfnLayer.RecipesProperty.getUndeploy()- Parameters:
 undeploy- An array of custom recipe names to be run following aundeployevent.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnLayer.RecipesProperty>- Returns:
 - a new instance of 
CfnLayer.RecipesProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -