@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventActionEntry extends Object implements Serializable, Cloneable, StructuredPojo
An event action is an object that defines the relationship between a specific event and an automated action that will be taken on behalf of the customer.
Constructor and Description |
---|
EventActionEntry() |
Modifier and Type | Method and Description |
---|---|
EventActionEntry |
clone() |
boolean |
equals(Object obj) |
Action |
getAction()
What occurs after a certain event.
|
String |
getArn()
The Amazon Resource Name (ARN) for the event action.
|
Date |
getCreatedAt()
The date and time that the event action was created, in ISO 8601 format.
|
Event |
getEvent()
What occurs to start an action.
|
String |
getId()
The unique identifier for the event action.
|
Date |
getUpdatedAt()
The date and time that the event action was last updated, in ISO 8601 format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(Action action)
What occurs after a certain event.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the event action.
|
void |
setCreatedAt(Date createdAt)
The date and time that the event action was created, in ISO 8601 format.
|
void |
setEvent(Event event)
What occurs to start an action.
|
void |
setId(String id)
The unique identifier for the event action.
|
void |
setUpdatedAt(Date updatedAt)
The date and time that the event action was last updated, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
EventActionEntry |
withAction(Action action)
What occurs after a certain event.
|
EventActionEntry |
withArn(String arn)
The Amazon Resource Name (ARN) for the event action.
|
EventActionEntry |
withCreatedAt(Date createdAt)
The date and time that the event action was created, in ISO 8601 format.
|
EventActionEntry |
withEvent(Event event)
What occurs to start an action.
|
EventActionEntry |
withId(String id)
The unique identifier for the event action.
|
EventActionEntry |
withUpdatedAt(Date updatedAt)
The date and time that the event action was last updated, in ISO 8601 format.
|
public void setAction(Action action)
What occurs after a certain event.
action
- What occurs after a certain event.public Action getAction()
What occurs after a certain event.
public EventActionEntry withAction(Action action)
What occurs after a certain event.
action
- What occurs after a certain event.public void setArn(String arn)
The Amazon Resource Name (ARN) for the event action.
arn
- The Amazon Resource Name (ARN) for the event action.public String getArn()
The Amazon Resource Name (ARN) for the event action.
public EventActionEntry withArn(String arn)
The Amazon Resource Name (ARN) for the event action.
arn
- The Amazon Resource Name (ARN) for the event action.public void setCreatedAt(Date createdAt)
The date and time that the event action was created, in ISO 8601 format.
createdAt
- The date and time that the event action was created, in ISO 8601 format.public Date getCreatedAt()
The date and time that the event action was created, in ISO 8601 format.
public EventActionEntry withCreatedAt(Date createdAt)
The date and time that the event action was created, in ISO 8601 format.
createdAt
- The date and time that the event action was created, in ISO 8601 format.public void setEvent(Event event)
What occurs to start an action.
event
- What occurs to start an action.public Event getEvent()
What occurs to start an action.
public EventActionEntry withEvent(Event event)
What occurs to start an action.
event
- What occurs to start an action.public void setId(String id)
The unique identifier for the event action.
id
- The unique identifier for the event action.public String getId()
The unique identifier for the event action.
public EventActionEntry withId(String id)
The unique identifier for the event action.
id
- The unique identifier for the event action.public void setUpdatedAt(Date updatedAt)
The date and time that the event action was last updated, in ISO 8601 format.
updatedAt
- The date and time that the event action was last updated, in ISO 8601 format.public Date getUpdatedAt()
The date and time that the event action was last updated, in ISO 8601 format.
public EventActionEntry withUpdatedAt(Date updatedAt)
The date and time that the event action was last updated, in ISO 8601 format.
updatedAt
- The date and time that the event action was last updated, in ISO 8601 format.public String toString()
toString
in class Object
Object.toString()
public EventActionEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.