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

@param numberOfRecentAmisToKeep
       The number of recent AMIs to keep when creating a replication job for this server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servermigration/src/main/java/com/amazonaws/services/servermigration/model/ServerReplicationParameters.java