public void setCurrentGeneration(Boolean currentGeneration) {
        this.currentGeneration = currentGeneration;
    }
<p>
Determines whether the recommendation is for a current-generation instance.
</p>

@param currentGeneration
       Determines whether the recommendation is for a current-generation instance.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/ESInstanceDetails.java