public CreateUserPoolRequest withPoolName(String poolName) {
        setPoolName(poolName);
        return this;
    }
<p>
A string used to name the user pool.
</p>

@param poolName
       A string used to name the user pool.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/CreateUserPoolRequest.java