code: private CompletableFuture<Void> updateAttributesForSegment(long segmentId, Collection<AttributeUpdate> attributeUpdates, Duration timeout) {
          UpdateAttributesOperation operation = new UpdateAttributesOperation(segmentId, attributeUpdates);
          return processAttributeUpdaterOperation(operation, new TimeoutTimer(timeout));
      }
docs: region Helpers