public ListStageDevicesRequest withExcludeDevicesDeployedInOtherStage(Boolean excludeDevicesDeployedInOtherStage) {
        setExcludeDevicesDeployedInOtherStage(excludeDevicesDeployedInOtherStage);
        return this;
    }
<p>
Toggle for excluding devices deployed in other stages.
</p>

@param excludeDevicesDeployedInOtherStage
       Toggle for excluding devices deployed in other stages.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListStageDevicesRequest.java