public void setResourceShareAssociations(java.util.Collection<ResourceShareAssociation> resourceShareAssociations) {
        if (resourceShareAssociations == null) {
            this.resourceShareAssociations = null;
            return;
        }

        this.resourceShareAssociations = new java.util.ArrayList<ResourceShareAssociation>(resourceShareAssociations);
    }
<p>
An array of objects that contain information about the associations.
</p>

@param resourceShareAssociations
       An array of objects that contain information about the associations.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/AssociateResourceShareResult.java