|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.opsworks.model.Recipes
public class Recipes
OpsWorks supports five life-cycle events, setup ,
configuration ,
deploy ,
undeploy , and shutdown .
For each layer, OpsWorks runs a set of standard recipes for each event. In addition, you can provide custom recipes for any or all layers and
events. OpsWorks 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.
| Constructor Summary | |
|---|---|
Recipes()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getConfigure()
An array of custom recipe names to be run following a configure event. |
java.util.List<java.lang.String> |
getDeploy()
An array of custom recipe names to be run following a deploy event. |
java.util.List<java.lang.String> |
getSetup()
An array of custom recipe names to be run following a setup event. |
java.util.List<java.lang.String> |
getShutdown()
An array of custom recipe names to be run following a shutdown event. |
java.util.List<java.lang.String> |
getUndeploy()
An array of custom recipe names to be run following a undeploy event. |
int |
hashCode()
|
void |
setConfigure(java.util.Collection<java.lang.String> configure)
An array of custom recipe names to be run following a configure event. |
void |
setDeploy(java.util.Collection<java.lang.String> deploy)
An array of custom recipe names to be run following a deploy event. |
void |
setSetup(java.util.Collection<java.lang.String> setup)
An array of custom recipe names to be run following a setup event. |
void |
setShutdown(java.util.Collection<java.lang.String> shutdown)
An array of custom recipe names to be run following a shutdown event. |
void |
setUndeploy(java.util.Collection<java.lang.String> undeploy)
An array of custom recipe names to be run following a undeploy event. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Recipes |
withConfigure(java.util.Collection<java.lang.String> configure)
An array of custom recipe names to be run following a configure event. |
Recipes |
withConfigure(java.lang.String... configure)
An array of custom recipe names to be run following a configure event. |
Recipes |
withDeploy(java.util.Collection<java.lang.String> deploy)
An array of custom recipe names to be run following a deploy event. |
Recipes |
withDeploy(java.lang.String... deploy)
An array of custom recipe names to be run following a deploy event. |
Recipes |
withSetup(java.util.Collection<java.lang.String> setup)
An array of custom recipe names to be run following a setup event. |
Recipes |
withSetup(java.lang.String... setup)
An array of custom recipe names to be run following a setup event. |
Recipes |
withShutdown(java.util.Collection<java.lang.String> shutdown)
An array of custom recipe names to be run following a shutdown event. |
Recipes |
withShutdown(java.lang.String... shutdown)
An array of custom recipe names to be run following a shutdown event. |
Recipes |
withUndeploy(java.util.Collection<java.lang.String> undeploy)
An array of custom recipe names to be run following a undeploy event. |
Recipes |
withUndeploy(java.lang.String... undeploy)
An array of custom recipe names to be run following a undeploy event. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Recipes()
| Method Detail |
|---|
public java.util.List<java.lang.String> getSetup()
setup event.
setup event.public void setSetup(java.util.Collection<java.lang.String> setup)
setup event.
setup - An array of custom recipe names to be run following a
setup event.public Recipes withSetup(java.lang.String... setup)
setup event.
Returns a reference to this object so that method calls can be chained together.
setup - An array of custom recipe names to be run following a
setup event.
public Recipes withSetup(java.util.Collection<java.lang.String> setup)
setup event.
Returns a reference to this object so that method calls can be chained together.
setup - An array of custom recipe names to be run following a
setup event.
public java.util.List<java.lang.String> getConfigure()
configure event.
configure event.public void setConfigure(java.util.Collection<java.lang.String> configure)
configure event.
configure - An array of custom recipe names to be run following a
configure event.public Recipes withConfigure(java.lang.String... configure)
configure event.
Returns a reference to this object so that method calls can be chained together.
configure - An array of custom recipe names to be run following a
configure event.
public Recipes withConfigure(java.util.Collection<java.lang.String> configure)
configure event.
Returns a reference to this object so that method calls can be chained together.
configure - An array of custom recipe names to be run following a
configure event.
public java.util.List<java.lang.String> getDeploy()
deploy event.
deploy event.public void setDeploy(java.util.Collection<java.lang.String> deploy)
deploy event.
deploy - An array of custom recipe names to be run following a
deploy event.public Recipes withDeploy(java.lang.String... deploy)
deploy event.
Returns a reference to this object so that method calls can be chained together.
deploy - An array of custom recipe names to be run following a
deploy event.
public Recipes withDeploy(java.util.Collection<java.lang.String> deploy)
deploy event.
Returns a reference to this object so that method calls can be chained together.
deploy - An array of custom recipe names to be run following a
deploy event.
public java.util.List<java.lang.String> getUndeploy()
undeploy event.
undeploy event.public void setUndeploy(java.util.Collection<java.lang.String> undeploy)
undeploy event.
undeploy - An array of custom recipe names to be run following a
undeploy event.public Recipes withUndeploy(java.lang.String... undeploy)
undeploy event.
Returns a reference to this object so that method calls can be chained together.
undeploy - An array of custom recipe names to be run following a
undeploy event.
public Recipes withUndeploy(java.util.Collection<java.lang.String> undeploy)
undeploy event.
Returns a reference to this object so that method calls can be chained together.
undeploy - An array of custom recipe names to be run following a
undeploy event.
public java.util.List<java.lang.String> getShutdown()
shutdown event.
shutdown event.public void setShutdown(java.util.Collection<java.lang.String> shutdown)
shutdown event.
shutdown - An array of custom recipe names to be run following a
shutdown event.public Recipes withShutdown(java.lang.String... shutdown)
shutdown event.
Returns a reference to this object so that method calls can be chained together.
shutdown - An array of custom recipe names to be run following a
shutdown event.
public Recipes withShutdown(java.util.Collection<java.lang.String> shutdown)
shutdown event.
Returns a reference to this object so that method calls can be chained together.
shutdown - An array of custom recipe names to be run following a
shutdown event.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||