return activityTaskScheduledEventAttributesBuilder.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> * 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()); }