/** * Sets or replaces all mappings from the specified map as entries for the {@link ActionsSummary#getActionCountByTags() actionCountByTags} map. Nulls are not permitted * @param actionCountByTags The entries that will be added to the actionCountByTags map * @return {@code this} builder for use in a chained invocation */ @JsonProperty("actionCountByTags") public final ActionsSummary.Builder actionCountByTags(Map<String, ? extends Integer> actionCountByTags) { this.actionCountByTags.clear(); return putAllActionCountByTags(actionCountByTags); }
/** * Fill a builder with attribute values from the provided {@code ActionsSummary} instance. * Regular attribute values will be replaced with those from the given instance. * Absent optional values will not replace present values. * Collection elements and entries will be added, not replaced. * @param instance The instance from which to copy values * @return {@code this} builder for use in a chained invocation */ public final ActionsSummary.Builder createFrom(ActionsSummary instance) { Objects.requireNonNull(instance, "instance"); putAllActionCountByTags(instance.getActionCountByTags()); totalActions(instance.getTotalActions()); return (ActionsSummary.Builder) this; }