public ListClassificationScopesResult withClassificationScopes(ClassificationScopeSummary... classificationScopes) {
        if (this.classificationScopes == null) {
            setClassificationScopes(new java.util.ArrayList<ClassificationScopeSummary>(classificationScopes.length));
        }
        for (ClassificationScopeSummary ele : classificationScopes) {
            this.classificationScopes.add(ele);
        }
        return this;
    }
<p>
An array that specifies the unique identifier and name of the classification scope for the account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setClassificationScopes(java.util.Collection)} or {@link #withClassificationScopes(java.util.Collection)}
if you want to override the existing values.
</p>

@param classificationScopes
       An array that specifies the unique identifier and name of the classification scope for the account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/ListClassificationScopesResult.java