public DescribeSnapshotsRequest withOwnerIds(String... ownerIds) {
        if (this.ownerIds == null) {
            setOwnerIds(new com.amazonaws.internal.SdkInternalList<String>(ownerIds.length));
        }
        for (String ele : ownerIds) {
            this.ownerIds.add(ele);
        }
        return this;
    }
public DescribeSnapshotsRequest withOwnerIds ( String ... ownerIds ) { if ( this . ownerIds == null ) { setOwnerIds ( new com . amazonaws . internal . SdkInternalList < String > ( ownerIds . length ) ) ; } for ( String ele : ownerIds ) { this . ownerIds . add ( ele ) ; } return this ; }
<p>
Describes the snapshots owned by these owners.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOwnerIds(java.util.Collection)} or {@link #withOwnerIds(java.util.Collection)} if you want to override
the existing values.
</p>

@param ownerIds
Describes the snapshots owned by these owners.
@return Returns a reference to this object so that method calls can be chained together.