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 LifecycleEventConfiguration
clone()
boolean
equals(Object obj)
ShutdownEventConfiguration
getShutdown()
AShutdownEventConfiguration
object that specifies the Shutdown event configuration.int
hashCode()
void
setShutdown(ShutdownEventConfiguration shutdown)
AShutdownEventConfiguration
object that specifies the Shutdown event configuration.String
toString()
Returns a string representation of this object; useful for testing and debugging.LifecycleEventConfiguration
withShutdown(ShutdownEventConfiguration shutdown)
AShutdownEventConfiguration
object that specifies the Shutdown event configuration.
-
-
-
Method Detail
-
setShutdown
public void setShutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfiguration
object that specifies the Shutdown event configuration.- Parameters:
shutdown
- AShutdownEventConfiguration
object that specifies the Shutdown event configuration.
-
getShutdown
public ShutdownEventConfiguration getShutdown()
A
ShutdownEventConfiguration
object that specifies the Shutdown event configuration.- Returns:
- A
ShutdownEventConfiguration
object that specifies the Shutdown event configuration.
-
withShutdown
public LifecycleEventConfiguration withShutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfiguration
object that specifies the Shutdown event configuration.- Parameters:
shutdown
- AShutdownEventConfiguration
object 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public LifecycleEventConfiguration clone()
-
-