code: public Workteam withMemberDefinitions(MemberDefinition... memberDefinitions) {
          if (this.memberDefinitions == null) {
              setMemberDefinitions(new java.util.ArrayList<MemberDefinition>(memberDefinitions.length));
          }
          for (MemberDefinition ele : memberDefinitions) {
              this.memberDefinitions.add(ele);
          }
          return this;
      }
docs: <p>
  The Amazon Cognito user groups that make up the work team.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setMemberDefinitions(java.util.Collection)} or {@link #withMemberDefinitions(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param memberDefinitions
  The Amazon Cognito user groups that make up the work team.
  @return Returns a reference to this object so that method calls can be chained together.