public class LifecycleEventConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Specifies the lifecycle event configuration
Modifier and Type | Field and Description |
---|---|
private ShutdownEventConfiguration |
shutdown
A
ShutdownEventConfiguration object that specifies the
Shutdown event configuration. |
Constructor and Description |
---|
LifecycleEventConfiguration() |
Modifier and Type | Method and Description |
---|---|
LifecycleEventConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
ShutdownEventConfiguration |
getShutdown()
A
ShutdownEventConfiguration object that specifies the
Shutdown event configuration. |
int |
hashCode() |
void |
setShutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfiguration object that specifies the
Shutdown event configuration. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LifecycleEventConfiguration |
withShutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfiguration object that specifies the
Shutdown event configuration. |
private ShutdownEventConfiguration shutdown
A ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.
public void setShutdown(ShutdownEventConfiguration shutdown)
A ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.
shutdown
- A ShutdownEventConfiguration
object that specifies
the Shutdown event configuration.public ShutdownEventConfiguration getShutdown()
A ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.
ShutdownEventConfiguration
object that specifies
the Shutdown event configuration.public LifecycleEventConfiguration withShutdown(ShutdownEventConfiguration shutdown)
A ShutdownEventConfiguration
object that specifies the
Shutdown event configuration.
shutdown
- A ShutdownEventConfiguration
object that specifies
the Shutdown event configuration.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public LifecycleEventConfiguration clone()
clone
in class java.lang.Object