@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TriggerDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about what caused the incident to be created in Incident Manager.
Constructor and Description |
---|
TriggerDetails() |
Modifier and Type | Method and Description |
---|---|
TriggerDetails |
clone() |
boolean |
equals(Object obj) |
String |
getRawData()
Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.
|
String |
getSource()
Identifies the service that sourced the event.
|
Date |
getTimestamp()
The time that the incident was detected.
|
String |
getTriggerArn()
The ARN of the source that detected the incident.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRawData(String rawData)
Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.
|
void |
setSource(String source)
Identifies the service that sourced the event.
|
void |
setTimestamp(Date timestamp)
The time that the incident was detected.
|
void |
setTriggerArn(String triggerArn)
The ARN of the source that detected the incident.
|
String |
toString()
Returns a string representation of this object.
|
TriggerDetails |
withRawData(String rawData)
Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.
|
TriggerDetails |
withSource(String source)
Identifies the service that sourced the event.
|
TriggerDetails |
withTimestamp(Date timestamp)
The time that the incident was detected.
|
TriggerDetails |
withTriggerArn(String triggerArn)
The ARN of the source that detected the incident.
|
public void setRawData(String rawData)
Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.
rawData
- Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.public String getRawData()
Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.
public TriggerDetails withRawData(String rawData)
Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.
rawData
- Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.public void setSource(String source)
Identifies the service that sourced the event. All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.
source
- Identifies the service that sourced the event. All events sourced from within AWS begin with "aws."
Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend
the use of Java package-name style reverse domain-name strings.public String getSource()
Identifies the service that sourced the event. All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.
public TriggerDetails withSource(String source)
Identifies the service that sourced the event. All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.
source
- Identifies the service that sourced the event. All events sourced from within AWS begin with "aws."
Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend
the use of Java package-name style reverse domain-name strings.public void setTimestamp(Date timestamp)
The time that the incident was detected.
timestamp
- The time that the incident was detected.public Date getTimestamp()
The time that the incident was detected.
public TriggerDetails withTimestamp(Date timestamp)
The time that the incident was detected.
timestamp
- The time that the incident was detected.public void setTriggerArn(String triggerArn)
The ARN of the source that detected the incident.
triggerArn
- The ARN of the source that detected the incident.public String getTriggerArn()
The ARN of the source that detected the incident.
public TriggerDetails withTriggerArn(String triggerArn)
The ARN of the source that detected the incident.
triggerArn
- The ARN of the source that detected the incident.public String toString()
toString
in class Object
Object.toString()
public TriggerDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.