@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Engagement extends Object implements Serializable, Cloneable, StructuredPojo
Incident Manager reaching out to a contact or escalation plan to engage contact during an incident.
Constructor and Description |
---|
Engagement() |
Modifier and Type | Method and Description |
---|---|
Engagement |
clone() |
boolean |
equals(Object obj) |
String |
getContactArn()
The ARN of the escalation plan or contact that Incident Manager is engaging.
|
String |
getEngagementArn()
The Amazon Resource Name (ARN) of the engagement.
|
String |
getIncidentId()
The ARN of the incident that's engaging the contact.
|
String |
getSender()
The user that started the engagement.
|
Date |
getStartTime()
The time that the engagement began.
|
Date |
getStopTime()
The time that the engagement ended.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContactArn(String contactArn)
The ARN of the escalation plan or contact that Incident Manager is engaging.
|
void |
setEngagementArn(String engagementArn)
The Amazon Resource Name (ARN) of the engagement.
|
void |
setIncidentId(String incidentId)
The ARN of the incident that's engaging the contact.
|
void |
setSender(String sender)
The user that started the engagement.
|
void |
setStartTime(Date startTime)
The time that the engagement began.
|
void |
setStopTime(Date stopTime)
The time that the engagement ended.
|
String |
toString()
Returns a string representation of this object.
|
Engagement |
withContactArn(String contactArn)
The ARN of the escalation plan or contact that Incident Manager is engaging.
|
Engagement |
withEngagementArn(String engagementArn)
The Amazon Resource Name (ARN) of the engagement.
|
Engagement |
withIncidentId(String incidentId)
The ARN of the incident that's engaging the contact.
|
Engagement |
withSender(String sender)
The user that started the engagement.
|
Engagement |
withStartTime(Date startTime)
The time that the engagement began.
|
Engagement |
withStopTime(Date stopTime)
The time that the engagement ended.
|
public void setEngagementArn(String engagementArn)
The Amazon Resource Name (ARN) of the engagement.
engagementArn
- The Amazon Resource Name (ARN) of the engagement.public String getEngagementArn()
The Amazon Resource Name (ARN) of the engagement.
public Engagement withEngagementArn(String engagementArn)
The Amazon Resource Name (ARN) of the engagement.
engagementArn
- The Amazon Resource Name (ARN) of the engagement.public void setContactArn(String contactArn)
The ARN of the escalation plan or contact that Incident Manager is engaging.
contactArn
- The ARN of the escalation plan or contact that Incident Manager is engaging.public String getContactArn()
The ARN of the escalation plan or contact that Incident Manager is engaging.
public Engagement withContactArn(String contactArn)
The ARN of the escalation plan or contact that Incident Manager is engaging.
contactArn
- The ARN of the escalation plan or contact that Incident Manager is engaging.public void setSender(String sender)
The user that started the engagement.
sender
- The user that started the engagement.public String getSender()
The user that started the engagement.
public Engagement withSender(String sender)
The user that started the engagement.
sender
- The user that started the engagement.public void setIncidentId(String incidentId)
The ARN of the incident that's engaging the contact.
incidentId
- The ARN of the incident that's engaging the contact.public String getIncidentId()
The ARN of the incident that's engaging the contact.
public Engagement withIncidentId(String incidentId)
The ARN of the incident that's engaging the contact.
incidentId
- The ARN of the incident that's engaging the contact.public void setStartTime(Date startTime)
The time that the engagement began.
startTime
- The time that the engagement began.public Date getStartTime()
The time that the engagement began.
public Engagement withStartTime(Date startTime)
The time that the engagement began.
startTime
- The time that the engagement began.public void setStopTime(Date stopTime)
The time that the engagement ended.
stopTime
- The time that the engagement ended.public Date getStopTime()
The time that the engagement ended.
public Engagement withStopTime(Date stopTime)
The time that the engagement ended.
stopTime
- The time that the engagement ended.public String toString()
toString
in class Object
Object.toString()
public Engagement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.