public VpcAttachment withSubnetArns(java.util.Collection<String> subnetArns) {
        setSubnetArns(subnetArns);
        return this;
    }
<p>
The subnet ARNs.
</p>

@param subnetArns
       The subnet ARNs.
@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/VpcAttachment.java