public DescribeSnapshotsRequest withRestorableByUserIds(String... restorableByUserIds) {
        if (this.restorableByUserIds == null) {
            setRestorableByUserIds(new com.amazonaws.internal.SdkInternalList<String>(restorableByUserIds.length));
        }
        for (String ele : restorableByUserIds) {
            this.restorableByUserIds.add(ele);
        }
        return this;
    }
public DescribeSnapshotsRequest withRestorableByUserIds ( String ... restorableByUserIds ) { if ( this . restorableByUserIds == null ) { setRestorableByUserIds ( new com . amazonaws . internal . SdkInternalList < String > ( restorableByUserIds . length ) ) ; } for ( String ele : restorableByUserIds ) { this . restorableByUserIds . add ( ele ) ; } return this ; }
<p>
The IDs of the AWS accounts that can create volumes from the snapshot.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRestorableByUserIds(java.util.Collection)} or {@link #withRestorableByUserIds(java.util.Collection)}
if you want to override the existing values.
</p>

@param restorableByUserIds
The IDs of the AWS accounts that can create volumes from the snapshot.
@return Returns a reference to this object so that method calls can be chained together.