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 Details

    • resourceType

      TaskScheduledEventDetails.Builder resourceType(String 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

      TaskScheduledEventDetails.Builder parameters(String 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

      TaskScheduledEventDetails.Builder timeoutInSeconds(Long 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

      TaskScheduledEventDetails.Builder heartbeatInSeconds(Long 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

      TaskScheduledEventDetails.Builder taskCredentials(TaskCredentials 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 the TaskCredentials.Builder avoiding the need to create one manually via TaskCredentials.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taskCredentials(TaskCredentials).

      Parameters:
      taskCredentials - a consumer that will call methods on TaskCredentials.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: