@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskSchedule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
| Constructor and Description | 
|---|
| TaskSchedule() | 
| Modifier and Type | Method and Description | 
|---|---|
| TaskSchedule | clone() | 
| boolean | equals(Object obj) | 
| String | getScheduleExpression()
 A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination
 location. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setScheduleExpression(String scheduleExpression)
 A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination
 location. | 
| String | toString()Returns a string representation of this object. | 
| TaskSchedule | withScheduleExpression(String scheduleExpression)
 A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination
 location. | 
public void setScheduleExpression(String scheduleExpression)
A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination location.
scheduleExpression - A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a
        destination location.public String getScheduleExpression()
A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination location.
public TaskSchedule withScheduleExpression(String scheduleExpression)
A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination location.
scheduleExpression - A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a
        destination location.public String toString()
toString in class ObjectObject.toString()public TaskSchedule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.