@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Schedule extends Object implements Serializable, Cloneable, StructuredPojo
The schedule for when to trigger an update.
Constructor and Description |
---|
Schedule() |
Modifier and Type | Method and Description |
---|---|
Schedule |
clone() |
boolean |
equals(Object obj) |
String |
getExpression()
The expression that defines when to trigger an update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpression(String expression)
The expression that defines when to trigger an update.
|
String |
toString()
Returns a string representation of this object.
|
Schedule |
withExpression(String expression)
The expression that defines when to trigger an update.
|
public void setExpression(String expression)
The expression that defines when to trigger an update. For more information, see Schedule Expressions for Rules in the Amazon CloudWatch Events User Guide.
expression
- The expression that defines when to trigger an update. For more information, see Schedule
Expressions for Rules in the Amazon CloudWatch Events User Guide.public String getExpression()
The expression that defines when to trigger an update. For more information, see Schedule Expressions for Rules in the Amazon CloudWatch Events User Guide.
public Schedule withExpression(String expression)
The expression that defines when to trigger an update. For more information, see Schedule Expressions for Rules in the Amazon CloudWatch Events User Guide.
expression
- The expression that defines when to trigger an update. For more information, see Schedule
Expressions for Rules in the Amazon CloudWatch Events User Guide.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.