Class LifecycleEventConfiguration
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.LifecycleEventConfiguration
-
- All Implemented Interfaces:
Serializable,Cloneable
public class LifecycleEventConfiguration extends Object implements Serializable, Cloneable
Specifies the lifecycle event configuration
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LifecycleEventConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecycleEventConfigurationclone()booleanequals(Object obj)ShutdownEventConfigurationgetShutdown()AShutdownEventConfigurationobject that specifies the Shutdown event configuration.inthashCode()voidsetShutdown(ShutdownEventConfiguration shutdown)AShutdownEventConfigurationobject that specifies the Shutdown event configuration.StringtoString()Returns a string representation of this object; useful for testing and debugging.LifecycleEventConfigurationwithShutdown(ShutdownEventConfiguration shutdown)AShutdownEventConfigurationobject that specifies the Shutdown event configuration.
-
-
-
Method Detail
-
setShutdown
public void setShutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfigurationobject that specifies the Shutdown event configuration.- Parameters:
shutdown- AShutdownEventConfigurationobject that specifies the Shutdown event configuration.
-
getShutdown
public ShutdownEventConfiguration getShutdown()
A
ShutdownEventConfigurationobject that specifies the Shutdown event configuration.- Returns:
- A
ShutdownEventConfigurationobject that specifies the Shutdown event configuration.
-
withShutdown
public LifecycleEventConfiguration withShutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfigurationobject that specifies the Shutdown event configuration.- Parameters:
shutdown- AShutdownEventConfigurationobject that specifies the Shutdown event configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public LifecycleEventConfiguration clone()
-
-