public void setPeerings(java.util.Collection<Peering> peerings) {
        if (peerings == null) {
            this.peerings = null;
            return;
        }

        this.peerings = new java.util.ArrayList<Peering>(peerings);
    }
<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.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/ListPeeringsResult.java