public TransitGatewayOptions withDefaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation) {
        this.defaultRouteTablePropagation = defaultRouteTablePropagation.toString();
        return this;
    }
<p>
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
</p>

@param defaultRouteTablePropagation
       Indicates whether resource attachments automatically propagate routes to the default propagation route
       table.
@return Returns a reference to this object so that method calls can be chained together.
@see DefaultRouteTablePropagationValue
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/TransitGatewayOptions.java