public DescribeSnapshotsRequest withOwnerIds(java.util.Collection<String> ownerIds) {
        setOwnerIds(ownerIds);
        return this;
    }
<p>
Scopes the results to snapshots with the specified owners. You can specify a combination of Amazon Web Services
account IDs, <code>self</code>, and <code>amazon</code>.
</p>

@param ownerIds
       Scopes the results to snapshots with the specified owners. You can specify a combination of Amazon Web
       Services account IDs, <code>self</code>, and <code>amazon</code>.
@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/DescribeSnapshotsRequest.java