public void setShots(Long shots) {
        this.shots = shots;
    }
<p>
The number of shots used in the task.
</p>

@param shots
       The number of shots used in the task.
aws-java-sdk-braket/src/main/java/com/amazonaws/services/braket/model/GetQuantumTaskResult.java