@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Schedule extends Object implements Serializable, Cloneable, StructuredPojo
The schedule of when Amazon Redshift Serverless should run the scheduled action.
| Constructor and Description |
|---|
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
Schedule |
clone() |
boolean |
equals(Object obj) |
Date |
getAt()
The timestamp of when Amazon Redshift Serverless should run the scheduled action.
|
String |
getCron()
The cron expression to use to schedule a recurring scheduled action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAt(Date at)
The timestamp of when Amazon Redshift Serverless should run the scheduled action.
|
void |
setCron(String cron)
The cron expression to use to schedule a recurring scheduled action.
|
String |
toString()
Returns a string representation of this object.
|
Schedule |
withAt(Date at)
The timestamp of when Amazon Redshift Serverless should run the scheduled action.
|
Schedule |
withCron(String cron)
The cron expression to use to schedule a recurring scheduled action.
|
public void setAt(Date at)
The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions is "
at(yyyy-mm-ddThh:mm:ss)". For example, "at(2016-03-04T17:27:00)".
at - The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions
is "at(yyyy-mm-ddThh:mm:ss)". For example, "at(2016-03-04T17:27:00)".public Date getAt()
The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions is "
at(yyyy-mm-ddThh:mm:ss)". For example, "at(2016-03-04T17:27:00)".
at(yyyy-mm-ddThh:mm:ss)". For example, "at(2016-03-04T17:27:00)
".public Schedule withAt(Date at)
The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions is "
at(yyyy-mm-ddThh:mm:ss)". For example, "at(2016-03-04T17:27:00)".
at - The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions
is "at(yyyy-mm-ddThh:mm:ss)". For example, "at(2016-03-04T17:27:00)".public void setCron(String cron)
The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be separated by at least one hour.
Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the Amazon
CloudWatch Events User Guide.
cron - The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be
separated by at least one hour.
Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the
Amazon CloudWatch Events User Guide.
public String getCron()
The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be separated by at least one hour.
Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the Amazon
CloudWatch Events User Guide.
Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the
Amazon CloudWatch Events User Guide.
public Schedule withCron(String cron)
The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be separated by at least one hour.
Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the Amazon
CloudWatch Events User Guide.
cron - The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be
separated by at least one hour.
Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year)
". For example, "cron(0 10 ? * MON *)
". For more information, see Cron Expressions in the
Amazon CloudWatch Events User Guide.
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.