public void setAssociations(java.util.Collection<DataRepositoryAssociation> associations) {
        if (associations == null) {
            this.associations = null;
            return;
        }

        this.associations = new java.util.ArrayList<DataRepositoryAssociation>(associations);
    }
<p>
An array of one or more data repository association descriptions.
</p>

@param associations
       An array of one or more data repository association descriptions.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/DescribeDataRepositoryAssociationsResult.java