public StopPipelineExecutionRequest withAbandon(Boolean abandon) {
        setAbandon(abandon);
        return this;
    }
<p>
Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress actions.
</p>
<note>
<p>
This option can lead to failed or out-of-sequence tasks.
</p>
</note>

@param abandon
       Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress
       actions.</p> <note>
       <p>
       This option can lead to failed or out-of-sequence tasks.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/StopPipelineExecutionRequest.java