public ListPeeringsResult withPeerings(java.util.Collection<Peering> peerings) {
        setPeerings(peerings);
        return this;
    }
<p>
Lists the transit gateway peerings for the <code>ListPeerings</code> request.
</p>

@param peerings
       Lists the transit gateway peerings for the <code>ListPeerings</code> request.
@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/ListPeeringsResult.java