code: public ExclusionPreview withScopes(Scope... scopes) {
          if (this.scopes == null) {
              setScopes(new java.util.ArrayList<Scope>(scopes.length));
          }
          for (Scope ele : scopes) {
              this.scopes.add(ele);
          }
          return this;
      }
docs: <p>
  The AWS resources for which the exclusion preview pertains.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setScopes(java.util.Collection)} or {@link #withScopes(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param scopes
  The AWS resources for which the exclusion preview pertains.
  @return Returns a reference to this object so that method calls can be chained together.