@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListIncidentRecordsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListIncidentRecordsResult() |
Modifier and Type | Method and Description |
---|---|
ListIncidentRecordsResult |
clone() |
boolean |
equals(Object obj) |
List<IncidentRecordSummary> |
getIncidentRecordSummaries()
The details of each listed incident record.
|
String |
getNextToken()
The pagination token to continue to the next page of results.
|
int |
hashCode() |
void |
setIncidentRecordSummaries(Collection<IncidentRecordSummary> incidentRecordSummaries)
The details of each listed incident record.
|
void |
setNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListIncidentRecordsResult |
withIncidentRecordSummaries(Collection<IncidentRecordSummary> incidentRecordSummaries)
The details of each listed incident record.
|
ListIncidentRecordsResult |
withIncidentRecordSummaries(IncidentRecordSummary... incidentRecordSummaries)
The details of each listed incident record.
|
ListIncidentRecordsResult |
withNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<IncidentRecordSummary> getIncidentRecordSummaries()
The details of each listed incident record.
public void setIncidentRecordSummaries(Collection<IncidentRecordSummary> incidentRecordSummaries)
The details of each listed incident record.
incidentRecordSummaries
- The details of each listed incident record.public ListIncidentRecordsResult withIncidentRecordSummaries(IncidentRecordSummary... incidentRecordSummaries)
The details of each listed incident record.
NOTE: This method appends the values to the existing list (if any). Use
setIncidentRecordSummaries(java.util.Collection)
or
withIncidentRecordSummaries(java.util.Collection)
if you want to override the existing values.
incidentRecordSummaries
- The details of each listed incident record.public ListIncidentRecordsResult withIncidentRecordSummaries(Collection<IncidentRecordSummary> incidentRecordSummaries)
The details of each listed incident record.
incidentRecordSummaries
- The details of each listed incident record.public void setNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public String getNextToken()
The pagination token to continue to the next page of results.
public ListIncidentRecordsResult withNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListIncidentRecordsResult clone()