public ChangeServerLifeCycleStateRequest withLifeCycle(ChangeServerLifeCycleStateSourceServerLifecycle lifeCycle) {
        setLifeCycle(lifeCycle);
        return this;
    }
<p>
The request to change the source server migration lifecycle state.
</p>

@param lifeCycle
       The request to change the source server migration lifecycle state.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mgn/src/main/java/com/amazonaws/services/mgn/model/ChangeServerLifeCycleStateRequest.java