StructuredPojo
, ToCopyableBuilder<StartTimerDecisionAttributes.Builder,StartTimerDecisionAttributes>
@Generated("software.amazon.awssdk:codegen") public class StartTimerDecisionAttributes extends Object implements StructuredPojo, ToCopyableBuilder<StartTimerDecisionAttributes.Builder,StartTimerDecisionAttributes>
Provides details of the StartTimer
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
Resource
element with the domain name to limit the action to only specified domains.Action
element to allow or deny permission to call this action.If the caller does not 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 will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
Modifier and Type | Class | Description |
---|---|---|
static interface |
StartTimerDecisionAttributes.Builder |
Modifier and Type | Method | Description |
---|---|---|
static StartTimerDecisionAttributes.Builder |
builder() |
|
String |
control() |
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends StartTimerDecisionAttributes.Builder> |
serializableBuilderClass() |
|
String |
startToFireTimeout() |
Required. The duration to wait before firing the timer.
|
String |
timerId() |
Required. The unique ID of the timer.
|
StartTimerDecisionAttributes.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String timerId()
Required. The unique ID of the timer.
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 quotarnquot.
The specified string must not start or end with whitespace. It must not contain a :
(colon),
/
(slash), |
public String control()
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
public String startToFireTimeout()
Required. The duration to wait before firing the timer.
The duration is specified in seconds; an integer greater than or equal to 0.
public StartTimerDecisionAttributes.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StartTimerDecisionAttributes.Builder,StartTimerDecisionAttributes>
public static StartTimerDecisionAttributes.Builder builder()
public static Class<? extends StartTimerDecisionAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.