@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduleAction extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
ScheduleAction() |
| Modifier and Type | Method and Description |
|---|---|
ScheduleAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionName()
The name of the action, must be unique within the schedule.
|
ScheduleActionSettings |
getScheduleActionSettings()
Settings for this schedule action.
|
ScheduleActionStartSettings |
getScheduleActionStartSettings()
The time for the action to start in the channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActionName(String actionName)
The name of the action, must be unique within the schedule.
|
void |
setScheduleActionSettings(ScheduleActionSettings scheduleActionSettings)
Settings for this schedule action.
|
void |
setScheduleActionStartSettings(ScheduleActionStartSettings scheduleActionStartSettings)
The time for the action to start in the channel.
|
String |
toString()
Returns a string representation of this object.
|
ScheduleAction |
withActionName(String actionName)
The name of the action, must be unique within the schedule.
|
ScheduleAction |
withScheduleActionSettings(ScheduleActionSettings scheduleActionSettings)
Settings for this schedule action.
|
ScheduleAction |
withScheduleActionStartSettings(ScheduleActionStartSettings scheduleActionStartSettings)
The time for the action to start in the channel.
|
public void setActionName(String actionName)
actionName - The name of the action, must be unique within the schedule. This name provides the main reference to an
action once it is added to the schedule. A name is unique if it is no longer in the schedule. The schedule
is automatically cleaned up to remove actions with a start time of more than 1 hour ago (approximately) so
at that point a name can be reused.public String getActionName()
public ScheduleAction withActionName(String actionName)
actionName - The name of the action, must be unique within the schedule. This name provides the main reference to an
action once it is added to the schedule. A name is unique if it is no longer in the schedule. The schedule
is automatically cleaned up to remove actions with a start time of more than 1 hour ago (approximately) so
at that point a name can be reused.public void setScheduleActionSettings(ScheduleActionSettings scheduleActionSettings)
scheduleActionSettings - Settings for this schedule action.public ScheduleActionSettings getScheduleActionSettings()
public ScheduleAction withScheduleActionSettings(ScheduleActionSettings scheduleActionSettings)
scheduleActionSettings - Settings for this schedule action.public void setScheduleActionStartSettings(ScheduleActionStartSettings scheduleActionStartSettings)
scheduleActionStartSettings - The time for the action to start in the channel.public ScheduleActionStartSettings getScheduleActionStartSettings()
public ScheduleAction withScheduleActionStartSettings(ScheduleActionStartSettings scheduleActionStartSettings)
scheduleActionStartSettings - The time for the action to start in the channel.public String toString()
toString in class ObjectObject.toString()public ScheduleAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.