public DeletePoolResult withSharedRoutesEnabled(Boolean sharedRoutesEnabled) {
        setSharedRoutesEnabled(sharedRoutesEnabled);
        return this;
    }
<p>
Indicates whether shared routes are enabled for the pool.
</p>

@param sharedRoutesEnabled
       Indicates whether shared routes are enabled for the pool.
@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/DeletePoolResult.java