public static interface ActivityScheduledEventDetails.Builder extends SdkPojo, CopyableBuilder<ActivityScheduledEventDetails.Builder,ActivityScheduledEventDetails>
| Modifier and Type | Method and Description |
|---|---|
ActivityScheduledEventDetails.Builder |
heartbeatInSeconds(Long heartbeatInSeconds)
The maximum allowed duration between two heartbeats for the activity task.
|
ActivityScheduledEventDetails.Builder |
input(String input)
The JSON data input to the activity task.
|
default ActivityScheduledEventDetails.Builder |
inputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> inputDetails)
Contains details about the input for an execution history event.
|
ActivityScheduledEventDetails.Builder |
inputDetails(HistoryEventExecutionDataDetails inputDetails)
Contains details about the input for an execution history event.
|
ActivityScheduledEventDetails.Builder |
resource(String resource)
The Amazon Resource Name (ARN) of the scheduled activity.
|
ActivityScheduledEventDetails.Builder |
timeoutInSeconds(Long timeoutInSeconds)
The maximum allowed duration of the activity task.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildActivityScheduledEventDetails.Builder resource(String resource)
The Amazon Resource Name (ARN) of the scheduled activity.
resource - The Amazon Resource Name (ARN) of the scheduled activity.ActivityScheduledEventDetails.Builder input(String input)
The JSON data input to the activity task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
input - The JSON data input to the activity task. Length constraints apply to the payload size, and are
expressed as bytes in UTF-8 encoding.ActivityScheduledEventDetails.Builder inputDetails(HistoryEventExecutionDataDetails inputDetails)
Contains details about the input for an execution history event.
inputDetails - Contains details about the input for an execution history event.default ActivityScheduledEventDetails.Builder inputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> inputDetails)
Contains details about the input for an execution history event.
This is a convenience method that creates an instance of theHistoryEventExecutionDataDetails.Builder
avoiding the need to create one manually via HistoryEventExecutionDataDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to inputDetails(HistoryEventExecutionDataDetails).
inputDetails - a consumer that will call methods on HistoryEventExecutionDataDetails.BuilderinputDetails(HistoryEventExecutionDataDetails)ActivityScheduledEventDetails.Builder timeoutInSeconds(Long timeoutInSeconds)
The maximum allowed duration of the activity task.
timeoutInSeconds - The maximum allowed duration of the activity task.ActivityScheduledEventDetails.Builder heartbeatInSeconds(Long heartbeatInSeconds)
The maximum allowed duration between two heartbeats for the activity task.
heartbeatInSeconds - The maximum allowed duration between two heartbeats for the activity task.Copyright © 2023. All rights reserved.