if (context.testExpression("activityType", targetDepth)) { context.nextToken(); activityTaskScheduledEventAttributesBuilder.activityType(ActivityTypeUnmarshaller.getInstance().unmarshall( context)); activityTaskScheduledEventAttributesBuilder.activityId(context.getUnmarshaller(String.class).unmarshall( context)); activityTaskScheduledEventAttributesBuilder.input(context.getUnmarshaller(String.class).unmarshall(context)); .control(context.getUnmarshaller(String.class).unmarshall(context)); activityTaskScheduledEventAttributesBuilder.scheduleToStartTimeout(context.getUnmarshaller(String.class) .unmarshall(context)); activityTaskScheduledEventAttributesBuilder.scheduleToCloseTimeout(context.getUnmarshaller(String.class) .unmarshall(context)); activityTaskScheduledEventAttributesBuilder.startToCloseTimeout(context.getUnmarshaller(String.class) .unmarshall(context)); activityTaskScheduledEventAttributesBuilder.taskList(TaskListUnmarshaller.getInstance().unmarshall(context)); activityTaskScheduledEventAttributesBuilder.taskPriority(context.getUnmarshaller(String.class).unmarshall( context)); activityTaskScheduledEventAttributesBuilder.decisionTaskCompletedEventId(context.getUnmarshaller(Long.class) .unmarshall(context));
/** * <p> * If the event is of type <code>ActivityTaskScheduled</code> then this member is set and provides detailed * information about the event. It isn't set for other event types. * </p> * This is a convenience that creates an instance of the {@link ActivityTaskScheduledEventAttributes.Builder} * avoiding the need to create one manually via {@link ActivityTaskScheduledEventAttributes#builder()}. * * When the {@link Consumer} completes, {@link ActivityTaskScheduledEventAttributes.Builder#build()} is called * immediately and its result is passed to * {@link #activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes)}. * * @param activityTaskScheduledEventAttributes * a consumer that will call methods on {@link ActivityTaskScheduledEventAttributes.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes) */ default Builder activityTaskScheduledEventAttributes( Consumer<ActivityTaskScheduledEventAttributes.Builder> activityTaskScheduledEventAttributes) { return activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes.builder() .applyMutation(activityTaskScheduledEventAttributes).build()); }
/** * <p> * If the event is of type <code>ActivityTaskScheduled</code> then this member is set and provides detailed * information about the event. It isn't set for other event types. * </p> * This is a convenience that creates an instance of the {@link ActivityTaskScheduledEventAttributes.Builder} * avoiding the need to create one manually via {@link ActivityTaskScheduledEventAttributes#builder()}. * * When the {@link Consumer} completes, {@link ActivityTaskScheduledEventAttributes.Builder#build()} is called * immediately and its result is passed to * {@link #activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes)}. * * @param activityTaskScheduledEventAttributes * a consumer that will call methods on {@link ActivityTaskScheduledEventAttributes.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes) */ default Builder activityTaskScheduledEventAttributes( Consumer<ActivityTaskScheduledEventAttributes.Builder> activityTaskScheduledEventAttributes) { return activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes.builder() .applyMutation(activityTaskScheduledEventAttributes).build()); }
/** * <p> * The type of the activity task. * </p> * This is a convenience that creates an instance of the {@link ActivityType.Builder} avoiding the need to * create one manually via {@link ActivityType#builder()}. * * When the {@link Consumer} completes, {@link ActivityType.Builder#build()} is called immediately and its * result is passed to {@link #activityType(ActivityType)}. * * @param activityType * a consumer that will call methods on {@link ActivityType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityType(ActivityType) */ default Builder activityType(Consumer<ActivityType.Builder> activityType) { return activityType(ActivityType.builder().applyMutation(activityType).build()); }
/** * <p> * The task list in which the activity task has been scheduled. * </p> * This is a convenience that creates an instance of the {@link TaskList.Builder} avoiding the need to create * one manually via {@link TaskList#builder()}. * * When the {@link Consumer} completes, {@link TaskList.Builder#build()} is called immediately and its result is * passed to {@link #taskList(TaskList)}. * * @param taskList * a consumer that will call methods on {@link TaskList.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #taskList(TaskList) */ default Builder taskList(Consumer<TaskList.Builder> taskList) { return taskList(TaskList.builder().applyMutation(taskList).build()); }
/** * <p> * The task list in which the activity task has been scheduled. * </p> * This is a convenience that creates an instance of the {@link TaskList.Builder} avoiding the need to create * one manually via {@link TaskList#builder()}. * * When the {@link Consumer} completes, {@link TaskList.Builder#build()} is called immediately and its result is * passed to {@link #taskList(TaskList)}. * * @param taskList * a consumer that will call methods on {@link TaskList.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #taskList(TaskList) */ default Builder taskList(Consumer<TaskList.Builder> taskList) { return taskList(TaskList.builder().applyMutation(taskList).build()); }
/** * <p> * The type of the activity task. * </p> * This is a convenience that creates an instance of the {@link ActivityType.Builder} avoiding the need to * create one manually via {@link ActivityType#builder()}. * * When the {@link Consumer} completes, {@link ActivityType.Builder#build()} is called immediately and its * result is passed to {@link #activityType(ActivityType)}. * * @param activityType * a consumer that will call methods on {@link ActivityType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityType(ActivityType) */ default Builder activityType(Consumer<ActivityType.Builder> activityType) { return activityType(ActivityType.builder().applyMutation(activityType).build()); }
/** * <p> * The type of the activity task. * </p> * This is a convenience that creates an instance of the {@link ActivityType.Builder} avoiding the need to * create one manually via {@link ActivityType#builder()}. * * When the {@link Consumer} completes, {@link ActivityType.Builder#build()} is called immediately and its * result is passed to {@link #activityType(ActivityType)}. * * @param activityType * a consumer that will call methods on {@link ActivityType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityType(ActivityType) */ default Builder activityType(Consumer<ActivityType.Builder> activityType) { return activityType(ActivityType.builder().applyMutation(activityType).build()); }
/** * <p> * If the event is of type <code>ActivityTaskScheduled</code> then this member is set and provides detailed * information about the event. It isn't set for other event types. * </p> * This is a convenience that creates an instance of the {@link ActivityTaskScheduledEventAttributes.Builder} * avoiding the need to create one manually via {@link ActivityTaskScheduledEventAttributes#builder()}. * * When the {@link Consumer} completes, {@link ActivityTaskScheduledEventAttributes.Builder#build()} is called * immediately and its result is passed to * {@link #activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes)}. * * @param activityTaskScheduledEventAttributes * a consumer that will call methods on {@link ActivityTaskScheduledEventAttributes.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes) */ default Builder activityTaskScheduledEventAttributes( Consumer<ActivityTaskScheduledEventAttributes.Builder> activityTaskScheduledEventAttributes) { return activityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes.builder() .applyMutation(activityTaskScheduledEventAttributes).build()); }
/** * <p> * The task list in which the activity task has been scheduled. * </p> * This is a convenience that creates an instance of the {@link TaskList.Builder} avoiding the need to create * one manually via {@link TaskList#builder()}. * * When the {@link Consumer} completes, {@link TaskList.Builder#build()} is called immediately and its result is * passed to {@link #taskList(TaskList)}. * * @param taskList * a consumer that will call methods on {@link TaskList.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #taskList(TaskList) */ default Builder taskList(Consumer<TaskList.Builder> taskList) { return taskList(TaskList.builder().applyMutation(taskList).build()); }