public AssociateCustomDomainResult withVpcDNSTargets(VpcDNSTarget... vpcDNSTargets) {
        if (this.vpcDNSTargets == null) {
            setVpcDNSTargets(new java.util.ArrayList<VpcDNSTarget>(vpcDNSTargets.length));
        }
        for (VpcDNSTarget ele : vpcDNSTargets) {
            this.vpcDNSTargets.add(ele);
        }
        return this;
    }
<p>
DNS Target records for the custom domains of this Amazon VPC.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setVpcDNSTargets(java.util.Collection)} or {@link #withVpcDNSTargets(java.util.Collection)} if you want
to override the existing values.
</p>

@param vpcDNSTargets
       DNS Target records for the custom domains of this Amazon VPC.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apprunner/src/main/java/com/amazonaws/services/apprunner/model/AssociateCustomDomainResult.java