code: public void setMemberDefinitions(java.util.Collection<MemberDefinition> memberDefinitions) {
          if (memberDefinitions == null) {
              this.memberDefinitions = null;
              return;
          }
  
          this.memberDefinitions = new java.util.ArrayList<MemberDefinition>(memberDefinitions);
      }
docs: <p>
  A list of <code>MemberDefinition</code> objects that contains objects that identify the Amazon Cognito user pool
  that makes up the work team. For more information, see <a
  href="http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon Cognito
  User Pools</a>.
  </p>
  <p>
  All of the <code>CognitoMemberDefinition</code> objects that make up the member definition must have the same
  <code>ClientId</code> and <code>UserPool</code> values.
  </p>
  
  @param memberDefinitions
  A list of <code>MemberDefinition</code> objects that contains objects that identify the Amazon Cognito
  user pool that makes up the work team. For more information, see <a
  href="http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon
  Cognito User Pools</a>.</p>
  <p>
  All of the <code>CognitoMemberDefinition</code> objects that make up the member definition must have the
  same <code>ClientId</code> and <code>UserPool</code> values.