public PoolInformation withSharedRoutesEnabled(Boolean sharedRoutesEnabled) {
        setSharedRoutesEnabled(sharedRoutesEnabled);
        return this;
    }
<p>
Allows you to enable shared routes on your pool.
</p>
<p>
By default, this is set to <code>False</code>. If you set this value to <code>True</code>, your messages are sent
using phone numbers or sender IDs (depending on the country) that are shared with other users. In some countries,
such as the United States, senders aren't allowed to use shared routes and must use a dedicated phone number or
short code.
</p>

@param sharedRoutesEnabled
       Allows you to enable shared routes on your pool.</p>
       <p>
       By default, this is set to <code>False</code>. If you set this value to <code>True</code>, your messages
       are sent using phone numbers or sender IDs (depending on the country) that are shared with other users. In
       some countries, such as the United States, senders aren't allowed to use shared routes and must use a
       dedicated phone number or short code.
@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/PoolInformation.java