public CreateLayerRequest withLifecycleEventConfiguration(LifecycleEventConfiguration lifecycleEventConfiguration) {
        setLifecycleEventConfiguration(lifecycleEventConfiguration);
        return this;
    }
<p>
A <code>LifeCycleEventConfiguration</code> object that you can use to configure the Shutdown event to specify an
execution timeout and enable or disable Elastic Load Balancer connection draining.
</p>

@param lifecycleEventConfiguration
       A <code>LifeCycleEventConfiguration</code> object that you can use to configure the Shutdown event to
       specify an execution timeout and enable or disable Elastic Load Balancer connection draining.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerRequest.java