Interface TaskScheduledEventDetails.Builder

    • Method Detail

      • 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

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

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