public class ScheduledEvent extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ScheduledEvent()
default constructor
|
public String getAccount()
public void setAccount(String account)
account
- the account idpublic ScheduledEvent withAccount(String account)
account
- account idpublic String getRegion()
public void setRegion(String region)
region
- the aws regionpublic ScheduledEvent withRegion(String region)
region
- aws regionpublic Map<String,Object> getDetail()
public void setDetail(Map<String,Object> detail)
detail
- The details of the events (usually left blank)public ScheduledEvent withDetail(Map<String,Object> detail)
detail
- details of the events (usually left blank)public String getDetailType()
public void setDetailType(String detailType)
detailType
- The details type - see cloud watch events for more infopublic ScheduledEvent withDetailType(String detailType)
detailType
- The details type - see cloud watch events for more infopublic String getSource()
public void setSource(String soruce)
soruce
- the soruce of the eventpublic ScheduledEvent withSource(String source)
source
- source of the eventpublic org.joda.time.DateTime getTime()
public void setTime(org.joda.time.DateTime time)
time
- the timestamp for when the event is scheduledpublic ScheduledEvent withTime(org.joda.time.DateTime time)
time
- the timestamp for when the event is scheduledpublic String getId()
public void setId(String id)
id
- the id of the eventpublic ScheduledEvent withId(String id)
id
- id of eventpublic void setResources(List<String> resources)
resources
- the resources used by eventpublic ScheduledEvent withResources(List<String> resources)
resources
- list of resource namespublic String toString()
toString
in class Object
Object.toString()
public ScheduledEvent clone()
Copyright © 2018. All rights reserved.