public ListCustomDomainAssociationsResult withAssociations(java.util.Collection<Association> associations) {
        setAssociations(associations);
        return this;
    }
<p>
A list of Association objects.
</p>

@param associations
       A list of Association objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/ListCustomDomainAssociationsResult.java