public void setLifecycleTransition(String lifecycleTransition) {
        this.lifecycleTransition = lifecycleTransition;
    }
<p>
The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.
</p>
<ul>
<li>
<p>
To create a lifecycle hook for scale-out events, specify <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>.
</p>
</li>
<li>
<p>
To create a lifecycle hook for scale-in events, specify <code>autoscaling:EC2_INSTANCE_TERMINATING</code>.
</p>
</li>
</ul>

@param lifecycleTransition
       The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.</p>
       <ul>
       <li>
       <p>
       To create a lifecycle hook for scale-out events, specify <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>.
       </p>
       </li>
       <li>
       <p>
       To create a lifecycle hook for scale-in events, specify <code>autoscaling:EC2_INSTANCE_TERMINATING</code>.
       </p>
       </li>
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/LifecycleHookSpecification.java