@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEngagementsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEngagementsResult() |
Modifier and Type | Method and Description |
---|---|
ListEngagementsResult |
clone() |
boolean |
equals(Object obj) |
List<Engagement> |
getEngagements()
A list of each engagement that occurred during the specified time range of an incident.
|
String |
getNextToken()
The pagination token to continue to the next page of results.
|
int |
hashCode() |
void |
setEngagements(Collection<Engagement> engagements)
A list of each engagement that occurred during the specified time range of an incident.
|
void |
setNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListEngagementsResult |
withEngagements(Collection<Engagement> engagements)
A list of each engagement that occurred during the specified time range of an incident.
|
ListEngagementsResult |
withEngagements(Engagement... engagements)
A list of each engagement that occurred during the specified time range of an incident.
|
ListEngagementsResult |
withNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ListEngagementsResult 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 List<Engagement> getEngagements()
A list of each engagement that occurred during the specified time range of an incident.
public void setEngagements(Collection<Engagement> engagements)
A list of each engagement that occurred during the specified time range of an incident.
engagements
- A list of each engagement that occurred during the specified time range of an incident.public ListEngagementsResult withEngagements(Engagement... engagements)
A list of each engagement that occurred during the specified time range of an incident.
NOTE: This method appends the values to the existing list (if any). Use
setEngagements(java.util.Collection)
or withEngagements(java.util.Collection)
if you want to
override the existing values.
engagements
- A list of each engagement that occurred during the specified time range of an incident.public ListEngagementsResult withEngagements(Collection<Engagement> engagements)
A list of each engagement that occurred during the specified time range of an incident.
engagements
- A list of each engagement that occurred during the specified time range of an incident.public String toString()
toString
in class Object
Object.toString()
public ListEngagementsResult clone()