AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DecisionTaskScheduledEventAttributes

import "github.com/aws/aws-sdk-go/service/swf"

type DecisionTaskScheduledEventAttributes struct { StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"` TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` TaskPriority *string `locationName:"taskPriority" type:"string"` }

Provides details about the DecisionTaskScheduled event.

StartToCloseTimeout

Type: *string

The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

TaskList

Represents a task list.

TaskPriority

Type: *string

A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) in the Amazon SWF Developer Guide.

Method

GoString

func (s DecisionTaskScheduledEventAttributes) GoString() string

GoString returns the string representation

SetStartToCloseTimeout

func (s *DecisionTaskScheduledEventAttributes) SetStartToCloseTimeout(v string) *DecisionTaskScheduledEventAttributes

SetStartToCloseTimeout sets the StartToCloseTimeout field's value.

SetTaskList

func (s *DecisionTaskScheduledEventAttributes) SetTaskList(v *TaskList) *DecisionTaskScheduledEventAttributes

SetTaskList sets the TaskList field's value.

SetTaskPriority

func (s *DecisionTaskScheduledEventAttributes) SetTaskPriority(v string) *DecisionTaskScheduledEventAttributes

SetTaskPriority sets the TaskPriority field's value.

String

func (s DecisionTaskScheduledEventAttributes) String() string

String returns the string representation

On this page: