public TransitGateway withOptions(TransitGatewayOptions options) {
        setOptions(options);
        return this;
    }
<p>
The transit gateway options.
</p>

@param options
       The transit gateway options.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/TransitGateway.java