public DeleteFleetMetricRequest withExpectedVersion(Long expectedVersion) {
        setExpectedVersion(expectedVersion);
        return this;
    }
<p>
The expected version of the fleet metric to delete.
</p>

@param expectedVersion
       The expected version of the fleet metric to delete.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DeleteFleetMetricRequest.java