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

@param currentGeneration
       Determines whether the recommendation is for a current-generation instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/RDSInstanceDetails.java