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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ActivityScheduledEventDetails.BuilderheartbeatInSeconds(Long heartbeatInSeconds)The maximum allowed duration between two heartbeats for the activity task.ActivityScheduledEventDetails.Builderinput(String input)The JSON data input to the activity task.default ActivityScheduledEventDetails.BuilderinputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> inputDetails)Contains details about the input for an execution history event.ActivityScheduledEventDetails.BuilderinputDetails(HistoryEventExecutionDataDetails inputDetails)Contains details about the input for an execution history event.ActivityScheduledEventDetails.Builderresource(String resource)The Amazon Resource Name (ARN) of the scheduled activity.ActivityScheduledEventDetails.BuildertimeoutInSeconds(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resource
ActivityScheduledEventDetails.Builder resource(String 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
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.
- 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
ActivityScheduledEventDetails.Builder inputDetails(HistoryEventExecutionDataDetails 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.Builderavoiding the need to create one manually viaHistoryEventExecutionDataDetails.builder().When the
Consumercompletes,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:
inputDetails(HistoryEventExecutionDataDetails)
-
timeoutInSeconds
ActivityScheduledEventDetails.Builder timeoutInSeconds(Long 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
ActivityScheduledEventDetails.Builder heartbeatInSeconds(Long 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.
-
-