code: public ListCreateAccountStatusRequest withStates(CreateAccountState... states) {
          java.util.ArrayList<String> statesCopy = new java.util.ArrayList<String>(states.length);
          for (CreateAccountState value : states) {
              statesCopy.add(value.toString());
          }
          if (getStates() == null) {
              setStates(statesCopy);
          } else {
              getStates().addAll(statesCopy);
          }
          return this;
      }
docs: <p>
  A list of one or more states that you want included in the response. If this parameter is not present, then all
  requests are included in the response.
  </p>
  
  @param states
  A list of one or more states that you want included in the response. If this parameter is not present,
  then all requests are included in the response.
  @return Returns a reference to this object so that method calls can be chained together.
  @see CreateAccountState