@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IncidentRecordSummary extends Object implements Serializable, Cloneable, StructuredPojo
Details describing an incident record.
Constructor and Description |
---|
IncidentRecordSummary() |
Modifier and Type | Method and Description |
---|---|
IncidentRecordSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the incident.
|
Date |
getCreationTime()
The timestamp for when the incident was created.
|
Integer |
getImpact()
Defines the impact to customers and applications.
|
IncidentRecordSource |
getIncidentRecordSource()
What caused Incident Manager to create the incident.
|
Date |
getResolvedTime()
The timestamp for when the incident was resolved.
|
String |
getStatus()
The current status of the incident.
|
String |
getTitle()
The title of the incident.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the incident.
|
void |
setCreationTime(Date creationTime)
The timestamp for when the incident was created.
|
void |
setImpact(Integer impact)
Defines the impact to customers and applications.
|
void |
setIncidentRecordSource(IncidentRecordSource incidentRecordSource)
What caused Incident Manager to create the incident.
|
void |
setResolvedTime(Date resolvedTime)
The timestamp for when the incident was resolved.
|
void |
setStatus(String status)
The current status of the incident.
|
void |
setTitle(String title)
The title of the incident.
|
String |
toString()
Returns a string representation of this object.
|
IncidentRecordSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the incident.
|
IncidentRecordSummary |
withCreationTime(Date creationTime)
The timestamp for when the incident was created.
|
IncidentRecordSummary |
withImpact(Integer impact)
Defines the impact to customers and applications.
|
IncidentRecordSummary |
withIncidentRecordSource(IncidentRecordSource incidentRecordSource)
What caused Incident Manager to create the incident.
|
IncidentRecordSummary |
withResolvedTime(Date resolvedTime)
The timestamp for when the incident was resolved.
|
IncidentRecordSummary |
withStatus(IncidentRecordStatus status)
The current status of the incident.
|
IncidentRecordSummary |
withStatus(String status)
The current status of the incident.
|
IncidentRecordSummary |
withTitle(String title)
The title of the incident.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the incident.
arn
- The Amazon Resource Name (ARN) of the incident.public String getArn()
The Amazon Resource Name (ARN) of the incident.
public IncidentRecordSummary withArn(String arn)
The Amazon Resource Name (ARN) of the incident.
arn
- The Amazon Resource Name (ARN) of the incident.public void setCreationTime(Date creationTime)
The timestamp for when the incident was created.
creationTime
- The timestamp for when the incident was created.public Date getCreationTime()
The timestamp for when the incident was created.
public IncidentRecordSummary withCreationTime(Date creationTime)
The timestamp for when the incident was created.
creationTime
- The timestamp for when the incident was created.public void setImpact(Integer impact)
Defines the impact to customers and applications.
impact
- Defines the impact to customers and applications.public Integer getImpact()
Defines the impact to customers and applications.
public IncidentRecordSummary withImpact(Integer impact)
Defines the impact to customers and applications.
impact
- Defines the impact to customers and applications.public void setIncidentRecordSource(IncidentRecordSource incidentRecordSource)
What caused Incident Manager to create the incident.
incidentRecordSource
- What caused Incident Manager to create the incident.public IncidentRecordSource getIncidentRecordSource()
What caused Incident Manager to create the incident.
public IncidentRecordSummary withIncidentRecordSource(IncidentRecordSource incidentRecordSource)
What caused Incident Manager to create the incident.
incidentRecordSource
- What caused Incident Manager to create the incident.public void setResolvedTime(Date resolvedTime)
The timestamp for when the incident was resolved.
resolvedTime
- The timestamp for when the incident was resolved.public Date getResolvedTime()
The timestamp for when the incident was resolved.
public IncidentRecordSummary withResolvedTime(Date resolvedTime)
The timestamp for when the incident was resolved.
resolvedTime
- The timestamp for when the incident was resolved.public void setStatus(String status)
The current status of the incident.
status
- The current status of the incident.IncidentRecordStatus
public String getStatus()
The current status of the incident.
IncidentRecordStatus
public IncidentRecordSummary withStatus(String status)
The current status of the incident.
status
- The current status of the incident.IncidentRecordStatus
public IncidentRecordSummary withStatus(IncidentRecordStatus status)
The current status of the incident.
status
- The current status of the incident.IncidentRecordStatus
public void setTitle(String title)
The title of the incident. This value is either provided by the response plan or overwritten on creation.
title
- The title of the incident. This value is either provided by the response plan or overwritten on creation.public String getTitle()
The title of the incident. This value is either provided by the response plan or overwritten on creation.
public IncidentRecordSummary withTitle(String title)
The title of the incident. This value is either provided by the response plan or overwritten on creation.
title
- The title of the incident. This value is either provided by the response plan or overwritten on creation.public String toString()
toString
in class Object
Object.toString()
public IncidentRecordSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.