Interface ActivityScheduledEventDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActivityScheduledEventDetails.Builder,
,ActivityScheduledEventDetails> SdkBuilder<ActivityScheduledEventDetails.Builder,
,ActivityScheduledEventDetails> SdkPojo
- Enclosing class:
ActivityScheduledEventDetails
public static interface ActivityScheduledEventDetails.Builder
extends SdkPojo, CopyableBuilder<ActivityScheduledEventDetails.Builder,ActivityScheduledEventDetails>
-
Method Summary
Modifier and TypeMethodDescriptionheartbeatInSeconds
(Long heartbeatInSeconds) The maximum allowed duration between two heartbeats for the activity task.The JSON data input to the activity task.inputDetails
(Consumer<HistoryEventExecutionDataDetails.Builder> inputDetails) Contains details about the input for an execution history event.inputDetails
(HistoryEventExecutionDataDetails inputDetails) Contains details about the input for an execution history event.The Amazon Resource Name (ARN) of the scheduled activity.timeoutInSeconds
(Long timeoutInSeconds) The maximum allowed duration of the activity task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resource
The Amazon Resource Name (ARN) of the scheduled activity.
- Parameters:
resource
- The Amazon Resource Name (ARN) of the scheduled activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDetails
Contains details about the input for an execution history event.
- Parameters:
inputDetails
- Contains details about the input for an execution history event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDetails
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 viaHistoryEventExecutionDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDetails(HistoryEventExecutionDataDetails)
.- Parameters:
inputDetails
- a consumer that will call methods onHistoryEventExecutionDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutInSeconds
The maximum allowed duration of the activity task.
- Parameters:
timeoutInSeconds
- The maximum allowed duration of the activity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
heartbeatInSeconds
The maximum allowed duration between two heartbeats for the activity task.
- Parameters:
heartbeatInSeconds
- The maximum allowed duration between two heartbeats for the activity task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-