public Peering withPeeringType(PeeringType peeringType) {
        this.peeringType = peeringType.toString();
        return this;
    }
<p>
The type of peering. This will be <code>TRANSIT_GATEWAY</code>.
</p>

@param peeringType
       The type of peering. This will be <code>TRANSIT_GATEWAY</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see PeeringType
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/Peering.java