@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskScheduledEventDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a task scheduled during an execution.
Constructor and Description |
---|
TaskScheduledEventDetails() |
Modifier and Type | Method and Description |
---|---|
TaskScheduledEventDetails |
clone() |
boolean |
equals(Object obj) |
Long |
getHeartbeatInSeconds()
The maximum allowed duration between two heartbeats for the task.
|
String |
getParameters()
The JSON data passed to the resource referenced in a task state.
|
String |
getRegion()
The region of the scheduled task
|
String |
getResource()
The action of the resource called by a task state.
|
String |
getResourceType()
The service name of the resource in a task state.
|
TaskCredentials |
getTaskCredentials()
The credentials that Step Functions uses for the task.
|
Long |
getTimeoutInSeconds()
The maximum allowed duration of the task.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHeartbeatInSeconds(Long heartbeatInSeconds)
The maximum allowed duration between two heartbeats for the task.
|
void |
setParameters(String parameters)
The JSON data passed to the resource referenced in a task state.
|
void |
setRegion(String region)
The region of the scheduled task
|
void |
setResource(String resource)
The action of the resource called by a task state.
|
void |
setResourceType(String resourceType)
The service name of the resource in a task state.
|
void |
setTaskCredentials(TaskCredentials taskCredentials)
The credentials that Step Functions uses for the task.
|
void |
setTimeoutInSeconds(Long timeoutInSeconds)
The maximum allowed duration of the task.
|
String |
toString()
Returns a string representation of this object.
|
TaskScheduledEventDetails |
withHeartbeatInSeconds(Long heartbeatInSeconds)
The maximum allowed duration between two heartbeats for the task.
|
TaskScheduledEventDetails |
withParameters(String parameters)
The JSON data passed to the resource referenced in a task state.
|
TaskScheduledEventDetails |
withRegion(String region)
The region of the scheduled task
|
TaskScheduledEventDetails |
withResource(String resource)
The action of the resource called by a task state.
|
TaskScheduledEventDetails |
withResourceType(String resourceType)
The service name of the resource in a task state.
|
TaskScheduledEventDetails |
withTaskCredentials(TaskCredentials taskCredentials)
The credentials that Step Functions uses for the task.
|
TaskScheduledEventDetails |
withTimeoutInSeconds(Long timeoutInSeconds)
The maximum allowed duration of the task.
|
public void setResourceType(String resourceType)
The service name of the resource in a task state.
resourceType
- The service name of the resource in a task state.public String getResourceType()
The service name of the resource in a task state.
public TaskScheduledEventDetails withResourceType(String resourceType)
The service name of the resource in a task state.
resourceType
- The service name of the resource in a task state.public void setResource(String resource)
The action of the resource called by a task state.
resource
- The action of the resource called by a task state.public String getResource()
The action of the resource called by a task state.
public TaskScheduledEventDetails withResource(String resource)
The action of the resource called by a task state.
resource
- The action of the resource called by a task state.public void setRegion(String region)
The region of the scheduled task
region
- The region of the scheduled taskpublic String getRegion()
The region of the scheduled task
public TaskScheduledEventDetails withRegion(String region)
The region of the scheduled task
region
- The region of the scheduled taskpublic void setParameters(String parameters)
The JSON data passed to the resource referenced in a task state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
parameters
- The JSON data passed to the resource referenced in a task state. Length constraints apply to the payload
size, and are expressed as bytes in UTF-8 encoding.public String getParameters()
The JSON data passed to the resource referenced in a task state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
public TaskScheduledEventDetails withParameters(String parameters)
The JSON data passed to the resource referenced in a task state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
parameters
- The JSON data passed to the resource referenced in a task state. Length constraints apply to the payload
size, and are expressed as bytes in UTF-8 encoding.public void setTimeoutInSeconds(Long timeoutInSeconds)
The maximum allowed duration of the task.
timeoutInSeconds
- The maximum allowed duration of the task.public Long getTimeoutInSeconds()
The maximum allowed duration of the task.
public TaskScheduledEventDetails withTimeoutInSeconds(Long timeoutInSeconds)
The maximum allowed duration of the task.
timeoutInSeconds
- The maximum allowed duration of the task.public void setHeartbeatInSeconds(Long heartbeatInSeconds)
The maximum allowed duration between two heartbeats for the task.
heartbeatInSeconds
- The maximum allowed duration between two heartbeats for the task.public Long getHeartbeatInSeconds()
The maximum allowed duration between two heartbeats for the task.
public TaskScheduledEventDetails withHeartbeatInSeconds(Long heartbeatInSeconds)
The maximum allowed duration between two heartbeats for the task.
heartbeatInSeconds
- The maximum allowed duration between two heartbeats for the task.public void setTaskCredentials(TaskCredentials taskCredentials)
The credentials that Step Functions uses for the task.
taskCredentials
- The credentials that Step Functions uses for the task.public TaskCredentials getTaskCredentials()
The credentials that Step Functions uses for the task.
public TaskScheduledEventDetails withTaskCredentials(TaskCredentials taskCredentials)
The credentials that Step Functions uses for the task.
taskCredentials
- The credentials that Step Functions uses for the task.public String toString()
toString
in class Object
Object.toString()
public TaskScheduledEventDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.