if (context.testExpression("identity", targetDepth)) { context.nextToken(); activityTaskStartedEventAttributesBuilder.identity(context.getUnmarshaller(String.class).unmarshall(context)); activityTaskStartedEventAttributesBuilder.scheduledEventId(context.getUnmarshaller(Long.class).unmarshall( context)); return activityTaskStartedEventAttributesBuilder.build();
/** * <p> * If the event is of type <code>ActivityTaskStarted</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 ActivityTaskStartedEventAttributes.Builder} * avoiding the need to create one manually via {@link ActivityTaskStartedEventAttributes#builder()}. * * When the {@link Consumer} completes, {@link ActivityTaskStartedEventAttributes.Builder#build()} is called * immediately and its result is passed to * {@link #activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes)}. * * @param activityTaskStartedEventAttributes * a consumer that will call methods on {@link ActivityTaskStartedEventAttributes.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes) */ default Builder activityTaskStartedEventAttributes( Consumer<ActivityTaskStartedEventAttributes.Builder> activityTaskStartedEventAttributes) { return activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes.builder() .applyMutation(activityTaskStartedEventAttributes).build()); }
/** * <p> * If the event is of type <code>ActivityTaskStarted</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 ActivityTaskStartedEventAttributes.Builder} * avoiding the need to create one manually via {@link ActivityTaskStartedEventAttributes#builder()}. * * When the {@link Consumer} completes, {@link ActivityTaskStartedEventAttributes.Builder#build()} is called * immediately and its result is passed to * {@link #activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes)}. * * @param activityTaskStartedEventAttributes * a consumer that will call methods on {@link ActivityTaskStartedEventAttributes.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes) */ default Builder activityTaskStartedEventAttributes( Consumer<ActivityTaskStartedEventAttributes.Builder> activityTaskStartedEventAttributes) { return activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes.builder() .applyMutation(activityTaskStartedEventAttributes).build()); }
/** * <p> * If the event is of type <code>ActivityTaskStarted</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 ActivityTaskStartedEventAttributes.Builder} * avoiding the need to create one manually via {@link ActivityTaskStartedEventAttributes#builder()}. * * When the {@link Consumer} completes, {@link ActivityTaskStartedEventAttributes.Builder#build()} is called * immediately and its result is passed to * {@link #activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes)}. * * @param activityTaskStartedEventAttributes * a consumer that will call methods on {@link ActivityTaskStartedEventAttributes.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes) */ default Builder activityTaskStartedEventAttributes( Consumer<ActivityTaskStartedEventAttributes.Builder> activityTaskStartedEventAttributes) { return activityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes.builder() .applyMutation(activityTaskStartedEventAttributes).build()); }