public Integer getNumberOfRecentAmisToKeep() {
        return this.numberOfRecentAmisToKeep;
    }
<p>
The number of recent AMIs to keep when creating a replication job for this server.
</p>

@return The number of recent AMIs to keep when creating a replication job for this server.
aws-java-sdk-servermigration/src/main/java/com/amazonaws/services/servermigration/model/ServerReplicationParameters.java