Class LifecycleEventConfiguration

    • Constructor Detail

      • LifecycleEventConfiguration

        public LifecycleEventConfiguration()
    • Method Detail

      • setShutdown

        public void setShutdown​(ShutdownEventConfiguration shutdown)

        A ShutdownEventConfiguration object that specifies the Shutdown event configuration.

        Parameters:
        shutdown - A ShutdownEventConfiguration 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 - A ShutdownEventConfiguration 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object