public class ActivityTypeConfiguration
extends java.lang.Object
implements java.io.Serializable
Configuration settings registered with the activity type.
| コンストラクタと説明 |
|---|
ActivityTypeConfiguration() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefaultTaskHeartbeatTimeout()
The optional default maximum time, specified when registering the
activity type, before which a worker processing a task must report
progress by calling RecordActivityTaskHeartbeat.
|
TaskList |
getDefaultTaskList()
The optional default task list specified for this activity type at
registration.
|
java.lang.String |
getDefaultTaskScheduleToCloseTimeout()
The optional default maximum duration, specified when registering the
activity type, for tasks of this activity type.
|
java.lang.String |
getDefaultTaskScheduleToStartTimeout()
The optional default maximum duration, specified when registering the
activity type, that a task of an activity type can wait before being
assigned to a worker.
|
java.lang.String |
getDefaultTaskStartToCloseTimeout()
The optional default maximum duration for tasks of an activity type
specified when registering the activity type.
|
int |
hashCode() |
void |
setDefaultTaskHeartbeatTimeout(java.lang.String defaultTaskHeartbeatTimeout)
The optional default maximum time, specified when registering the
activity type, before which a worker processing a task must report
progress by calling RecordActivityTaskHeartbeat.
|
void |
setDefaultTaskList(TaskList defaultTaskList)
The optional default task list specified for this activity type at
registration.
|
void |
setDefaultTaskScheduleToCloseTimeout(java.lang.String defaultTaskScheduleToCloseTimeout)
The optional default maximum duration, specified when registering the
activity type, for tasks of this activity type.
|
void |
setDefaultTaskScheduleToStartTimeout(java.lang.String defaultTaskScheduleToStartTimeout)
The optional default maximum duration, specified when registering the
activity type, that a task of an activity type can wait before being
assigned to a worker.
|
void |
setDefaultTaskStartToCloseTimeout(java.lang.String defaultTaskStartToCloseTimeout)
The optional default maximum duration for tasks of an activity type
specified when registering the activity type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTypeConfiguration |
withDefaultTaskHeartbeatTimeout(java.lang.String defaultTaskHeartbeatTimeout)
The optional default maximum time, specified when registering the
activity type, before which a worker processing a task must report
progress by calling RecordActivityTaskHeartbeat.
|
ActivityTypeConfiguration |
withDefaultTaskList(TaskList defaultTaskList)
The optional default task list specified for this activity type at
registration.
|
ActivityTypeConfiguration |
withDefaultTaskScheduleToCloseTimeout(java.lang.String defaultTaskScheduleToCloseTimeout)
The optional default maximum duration, specified when registering the
activity type, for tasks of this activity type.
|
ActivityTypeConfiguration |
withDefaultTaskScheduleToStartTimeout(java.lang.String defaultTaskScheduleToStartTimeout)
The optional default maximum duration, specified when registering the
activity type, that a task of an activity type can wait before being
assigned to a worker.
|
ActivityTypeConfiguration |
withDefaultTaskStartToCloseTimeout(java.lang.String defaultTaskStartToCloseTimeout)
The optional default maximum duration for tasks of an activity type
specified when registering the activity type.
|
public java.lang.String getDefaultTaskStartToCloseTimeout()
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public void setDefaultTaskStartToCloseTimeout(java.lang.String defaultTaskStartToCloseTimeout)
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
defaultTaskStartToCloseTimeout - The optional default maximum duration for tasks of an activity type
specified when registering the activity type. You can override this
default when scheduling a task through the
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public ActivityTypeConfiguration withDefaultTaskStartToCloseTimeout(java.lang.String defaultTaskStartToCloseTimeout)
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskStartToCloseTimeout - The optional default maximum duration for tasks of an activity type
specified when registering the activity type. You can override this
default when scheduling a task through the
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public java.lang.String getDefaultTaskHeartbeatTimeout()
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public void setDefaultTaskHeartbeatTimeout(java.lang.String defaultTaskHeartbeatTimeout)
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
defaultTaskHeartbeatTimeout - The optional default maximum time, specified when registering the
activity type, before which a worker processing a task must report
progress by calling RecordActivityTaskHeartbeat. You can
override this default when scheduling a task through the
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public ActivityTypeConfiguration withDefaultTaskHeartbeatTimeout(java.lang.String defaultTaskHeartbeatTimeout)
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskHeartbeatTimeout - The optional default maximum time, specified when registering the
activity type, before which a worker processing a task must report
progress by calling RecordActivityTaskHeartbeat. You can
override this default when scheduling a task through the
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public TaskList getDefaultTaskList()
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.public void setDefaultTaskList(TaskList defaultTaskList)
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.defaultTaskList - The optional default task list specified for this activity type at
registration. This default task list is used if a task list is not
provided when a task is scheduled through the
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.public ActivityTypeConfiguration withDefaultTaskList(TaskList defaultTaskList)
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.
Returns a reference to this object so that method calls can be chained together.
defaultTaskList - The optional default task list specified for this activity type at
registration. This default task list is used if a task list is not
provided when a task is scheduled through the
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.public java.lang.String getDefaultTaskScheduleToStartTimeout()
ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public void setDefaultTaskScheduleToStartTimeout(java.lang.String defaultTaskScheduleToStartTimeout)
ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
defaultTaskScheduleToStartTimeout - The optional default maximum duration, specified when registering the
activity type, that a task of an activity type can wait before being
assigned to a worker. You can override this default when scheduling a
task through the ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public ActivityTypeConfiguration withDefaultTaskScheduleToStartTimeout(java.lang.String defaultTaskScheduleToStartTimeout)
ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskScheduleToStartTimeout - The optional default maximum duration, specified when registering the
activity type, that a task of an activity type can wait before being
assigned to a worker. You can override this default when scheduling a
task through the ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public java.lang.String getDefaultTaskScheduleToCloseTimeout()
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public void setDefaultTaskScheduleToCloseTimeout(java.lang.String defaultTaskScheduleToCloseTimeout)
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
defaultTaskScheduleToCloseTimeout - The optional default maximum duration, specified when registering the
activity type, for tasks of this activity type. You can override this
default when scheduling a task through the
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public ActivityTypeConfiguration withDefaultTaskScheduleToCloseTimeout(java.lang.String defaultTaskScheduleToCloseTimeout)
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskScheduleToCloseTimeout - The optional default maximum duration, specified when registering the
activity type, for tasks of this activity type. You can override this
default when scheduling a task through the
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object