public ListS3ResourcesResult withS3Resources(S3ResourceClassification... s3Resources) {
        if (this.s3Resources == null) {
            setS3Resources(new java.util.ArrayList<S3ResourceClassification>(s3Resources.length));
        }
        for (S3ResourceClassification ele : s3Resources) {
            this.s3Resources.add(ele);
        }
        return this;
    }
public ListS3ResourcesResult withS3Resources ( S3ResourceClassification ... s3Resources ) { if ( this . s3Resources == null ) { setS3Resources ( new java . util . ArrayList < S3ResourceClassification > ( s3Resources . length ) ) ; } for ( S3ResourceClassification ele : s3Resources ) { this . s3Resources . add ( ele ) ; } return this ; }
<p>
A list of the associated S3 resources returned by the action.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setS3Resources(java.util.Collection)} or {@link #withS3Resources(java.util.Collection)} if you want to
override the existing values.
</p>

@param s3Resources
A list of the associated S3 resources returned by the action.
@return Returns a reference to this object so that method calls can be chained together.