Class StartTimerDecisionAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.swf.model.StartTimerDecisionAttributes
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<StartTimerDecisionAttributes.Builder,StartTimerDecisionAttributes>
@Generated("software.amazon.awssdk:codegen") public final class StartTimerDecisionAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StartTimerDecisionAttributes.Builder,StartTimerDecisionAttributes>
Provides the details of the
StartTimer
decision.Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
-
Use a
Resource
element with the domain name to limit the action to only specified domains. -
Use an
Action
element to allow or deny permission to call this action. -
You cannot use an IAM policy to constrain this action's parameters.
If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's
cause
parameter is set toOPERATION_NOT_PERMITTED
. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StartTimerDecisionAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartTimerDecisionAttributes.Builder
builder()
String
control()
The data attached to the event that can be used by the decider in subsequent workflow tasks.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends StartTimerDecisionAttributes.Builder>
serializableBuilderClass()
String
startToFireTimeout()
The duration to wait before firing the timer.String
timerId()
The unique ID of the timer.StartTimerDecisionAttributes.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
timerId
public final String timerId()
The unique ID of the timer.
The specified string must not contain a
:
(colon),/
(slash),|
(vertical bar), or any control characters (
-
-