public UpdatePoolResult withTwoWayChannelRole(String twoWayChannelRole) {
        setTwoWayChannelRole(twoWayChannelRole);
        return this;
    }
<p>
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
</p>

@param twoWayChannelRole
       An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
@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/UpdatePoolResult.java