code: public void setScopes(java.util.Collection<Scope> scopes) {
          if (scopes == null) {
              this.scopes = null;
              return;
          }
  
          this.scopes = new java.util.ArrayList<Scope>(scopes);
      }
docs: <p>
  The AWS resources for which the exclusion preview pertains.
  </p>
  
  @param scopes
  The AWS resources for which the exclusion preview pertains.