Interface TaskScheduledEventDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TaskScheduledEventDetails.Builder,
,TaskScheduledEventDetails> SdkBuilder<TaskScheduledEventDetails.Builder,
,TaskScheduledEventDetails> SdkPojo
- Enclosing class:
TaskScheduledEventDetails
public static interface TaskScheduledEventDetails.Builder
extends SdkPojo, CopyableBuilder<TaskScheduledEventDetails.Builder,TaskScheduledEventDetails>
-
Method Summary
Modifier and TypeMethodDescriptionheartbeatInSeconds
(Long heartbeatInSeconds) The maximum allowed duration between two heartbeats for the task.parameters
(String parameters) The JSON data passed to the resource referenced in a task state.The region of the scheduled taskThe action of the resource called by a task state.resourceType
(String resourceType) The service name of the resource in a task state.taskCredentials
(Consumer<TaskCredentials.Builder> taskCredentials) The credentials that Step Functions uses for the task.taskCredentials
(TaskCredentials taskCredentials) The credentials that Step Functions uses for the task.timeoutInSeconds
(Long timeoutInSeconds) The maximum allowed duration of the 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
-
resourceType
The service name of the resource in a task state.
- Parameters:
resourceType
- The service name of the resource in a task state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The action of the resource called by a task state.
- Parameters:
resource
- The action of the resource called by a task state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The region of the scheduled task
- Parameters:
region
- The region of the scheduled task- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The JSON data passed to the resource referenced in a task state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
parameters
- The JSON data passed to the resource referenced in a task state. 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.
-
timeoutInSeconds
The maximum allowed duration of the task.
- Parameters:
timeoutInSeconds
- The maximum allowed duration of the 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 task.
- Parameters:
heartbeatInSeconds
- The maximum allowed duration between two heartbeats for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskCredentials
The credentials that Step Functions uses for the task.
- Parameters:
taskCredentials
- The credentials that Step Functions uses for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskCredentials
default TaskScheduledEventDetails.Builder taskCredentials(Consumer<TaskCredentials.Builder> taskCredentials) The credentials that Step Functions uses for the task.
This is a convenience method that creates an instance of theTaskCredentials.Builder
avoiding the need to create one manually viaTaskCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskCredentials(TaskCredentials)
.- Parameters:
taskCredentials
- a consumer that will call methods onTaskCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-