public String getState() {
        return this.state;
    }
<p>
The state of the transit gateway.
</p>

@return The state of the transit gateway.
@see TransitGatewayState
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/TransitGateway.java