public GetTransitGatewayPeeringResult withTransitGatewayPeering(TransitGatewayPeering transitGatewayPeering) {
        setTransitGatewayPeering(transitGatewayPeering);
        return this;
    }
<p>
Returns information about a transit gateway peering.
</p>

@param transitGatewayPeering
       Returns information about a transit gateway peering.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetTransitGatewayPeeringResult.java