@Generated(value="software.amazon.awssdk:codegen") public class Recipes extends Object implements StructuredPojo, ToCopyableBuilder<Recipes.Builder,Recipes>
AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy,
undeploy, and shutdown. For each layer, AWS OpsWorks Stacks runs a set of standard recipes for each
event. In addition, you can provide custom recipes for any or all layers and events. AWS OpsWorks Stacks runs custom
event recipes after the standard recipes. LayerCustomRecipes specifies the custom recipes for a
particular layer to be run in response to each of the five events.
To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Recipes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Recipes.Builder |
builder() |
List<String> |
configure()
An array of custom recipe names to be run following a
configure event. |
List<String> |
deploy()
An array of custom recipe names to be run following a
deploy event. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends Recipes.Builder> |
serializableBuilderClass() |
List<String> |
setup()
An array of custom recipe names to be run following a
setup event. |
List<String> |
shutdown()
An array of custom recipe names to be run following a
shutdown event. |
Recipes.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<String> |
undeploy()
An array of custom recipe names to be run following a
undeploy event. |
copypublic List<String> setup()
An array of custom recipe names to be run following a setup event.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
setup event.public List<String> configure()
An array of custom recipe names to be run following a configure event.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
configure event.public List<String> deploy()
An array of custom recipe names to be run following a deploy event.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
deploy event.public List<String> undeploy()
An array of custom recipe names to be run following a undeploy event.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
undeploy event.public List<String> shutdown()
An array of custom recipe names to be run following a shutdown event.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
shutdown event.public Recipes.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Recipes.Builder,Recipes>public static Recipes.Builder builder()
public static Class<? extends Recipes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.