Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class StartTimerDecisionAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.StartTimerDecisionAttributes

public class StartTimerDecisionAttributes
extends Object

Provides details of the StartTimer decision.


Constructor Summary
StartTimerDecisionAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getControl()
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 String getStartToFireTimeout()
          The duration to wait before firing the timer.
 String getTimerId()
          The unique Id of the timer.
 int hashCode()
           
 void setControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 void setStartToFireTimeout(String startToFireTimeout)
          The duration to wait before firing the timer.
 void setTimerId(String timerId)
          The unique Id of the timer.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 StartTimerDecisionAttributes withControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 StartTimerDecisionAttributes withStartToFireTimeout(String startToFireTimeout)
          The duration to wait before firing the timer.
 StartTimerDecisionAttributes withTimerId(String timerId)
          The unique Id of the timer.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartTimerDecisionAttributes

public StartTimerDecisionAttributes()
Method Detail

getTimerId

public String getTimerId()
The unique Id of the timer. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Constraints:
Length: 1 - 256

Returns:
The unique Id of the timer. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".


setTimerId

public void setTimerId(String timerId)
The unique Id of the timer. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Constraints:
Length: 1 - 256

Parameters:
timerId - The unique Id of the timer. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".


withTimerId

public StartTimerDecisionAttributes withTimerId(String timerId)
The unique Id of the timer. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256

Parameters:
timerId - The unique Id of the timer. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Returns:
A reference to this updated object so that method calls can be chained together.

getControl

public String getControl()
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

Constraints:
Length: 0 - 32768

Returns:
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

setControl

public void setControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

withControl

public StartTimerDecisionAttributes withControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartToFireTimeout

public String getStartToFireTimeout()
The duration to wait before firing the timer. This field is required.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

Constraints:
Length: 1 - 8

Returns:
The duration to wait before firing the timer. This field is required.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.


setStartToFireTimeout

public void setStartToFireTimeout(String startToFireTimeout)
The duration to wait before firing the timer. This field is required.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

Constraints:
Length: 1 - 8

Parameters:
startToFireTimeout - The duration to wait before firing the timer. This field is required.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.


withStartToFireTimeout

public StartTimerDecisionAttributes withStartToFireTimeout(String startToFireTimeout)
The duration to wait before firing the timer. This field is required.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 8

Parameters:
startToFireTimeout - The duration to wait before firing the timer. This field is required.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.