public void setDomainAssociations(java.util.Collection<DomainAssociation> domainAssociations) {
        if (domainAssociations == null) {
            this.domainAssociations = null;
            return;
        }

        this.domainAssociations = new java.util.ArrayList<DomainAssociation>(domainAssociations);
    }
<p>
A list of domain associations.
</p>

@param domainAssociations
       A list of domain associations.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/ListDomainAssociationsResult.java