public GetManagedPrefixListEntriesRequest withTargetVersion(Long targetVersion) {
        setTargetVersion(targetVersion);
        return this;
    }
<p>
The version of the prefix list for which to return the entries. The default is the current version.
</p>

@param targetVersion
       The version of the prefix list for which to return the entries. The default is the current version.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/GetManagedPrefixListEntriesRequest.java