public AssociateOriginationIdentityResult withPoolId(String poolId) {
        setPoolId(poolId);
        return this;
    }
<p>
The PoolId of the pool that is now associated with the origination identity.
</p>

@param poolId
       The PoolId of the pool that is now associated with the origination identity.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/AssociateOriginationIdentityResult.java