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