public TransitGatewayPeeringAttachmentOptions withDynamicRouting(String dynamicRouting) {
        setDynamicRouting(dynamicRouting);
        return this;
    }
<p>
Describes whether dynamic routing is enabled or disabled for the transit gateway peering attachment.
</p>

@param dynamicRouting
       Describes whether dynamic routing is enabled or disabled for the transit gateway peering attachment.
@return Returns a reference to this object so that method calls can be chained together.
@see DynamicRoutingValue
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/TransitGatewayPeeringAttachmentOptions.java