public CognitoMemberDefinition withUserPool(String userPool) {
        setUserPool(userPool);
        return this;
    }
<p>
An identifier for a user pool. The user pool must be in the same region as the service that you are calling.
</p>

@param userPool
       An identifier for a user pool. The user pool must be in the same region as the service that you are
       calling.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CognitoMemberDefinition.java