public void setDesiredState(String desiredState) {
        this.desiredState = desiredState;
    }
<p>
Specify whether to consider the launch as <code>COMPLETED</code> or <code>CANCELLED</code> after it stops.
</p>

@param desiredState
       Specify whether to consider the launch as <code>COMPLETED</code> or <code>CANCELLED</code> after it stops.
@see LaunchStopDesiredState
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/StopLaunchRequest.java