public StopLaunchRequest withDesiredState(String desiredState) {
        setDesiredState(desiredState);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
@see LaunchStopDesiredState
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/StopLaunchRequest.java