@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAttacksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAttacksResult() |
Modifier and Type | Method and Description |
---|---|
ListAttacksResult |
clone() |
boolean |
equals(Object obj) |
List<AttackSummary> |
getAttackSummaries()
The attack information for the specified time range.
|
String |
getNextToken()
The token returned by a previous call to indicate that there is more data available.
|
int |
hashCode() |
void |
setAttackSummaries(Collection<AttackSummary> attackSummaries)
The attack information for the specified time range.
|
void |
setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
|
String |
toString()
Returns a string representation of this object.
|
ListAttacksResult |
withAttackSummaries(AttackSummary... attackSummaries)
The attack information for the specified time range.
|
ListAttacksResult |
withAttackSummaries(Collection<AttackSummary> attackSummaries)
The attack information for the specified time range.
|
ListAttacksResult |
withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AttackSummary> getAttackSummaries()
The attack information for the specified time range.
public void setAttackSummaries(Collection<AttackSummary> attackSummaries)
The attack information for the specified time range.
attackSummaries
- The attack information for the specified time range.public ListAttacksResult withAttackSummaries(AttackSummary... attackSummaries)
The attack information for the specified time range.
NOTE: This method appends the values to the existing list (if any). Use
setAttackSummaries(java.util.Collection)
or withAttackSummaries(java.util.Collection)
if you
want to override the existing values.
attackSummaries
- The attack information for the specified time range.public ListAttacksResult withAttackSummaries(Collection<AttackSummary> attackSummaries)
The attack information for the specified time range.
attackSummaries
- The attack information for the specified time range.public void setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available. If not null, more results
are available. Pass this value for the NextMarker
parameter in a subsequent call to
ListAttacks
to retrieve the next set of items.
Shield Advanced might return the list of AttackSummary objects in batches smaller than the number
specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always also
return a NextToken
.
nextToken
- The token returned by a previous call to indicate that there is more data available. If not null, more
results are available. Pass this value for the NextMarker
parameter in a subsequent call to
ListAttacks
to retrieve the next set of items.
Shield Advanced might return the list of AttackSummary objects in batches smaller than the number
specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always
also return a NextToken
.
public String getNextToken()
The token returned by a previous call to indicate that there is more data available. If not null, more results
are available. Pass this value for the NextMarker
parameter in a subsequent call to
ListAttacks
to retrieve the next set of items.
Shield Advanced might return the list of AttackSummary objects in batches smaller than the number
specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always also
return a NextToken
.
NextMarker
parameter in a subsequent call to
ListAttacks
to retrieve the next set of items.
Shield Advanced might return the list of AttackSummary objects in batches smaller than the number
specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always
also return a NextToken
.
public ListAttacksResult withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available. If not null, more results
are available. Pass this value for the NextMarker
parameter in a subsequent call to
ListAttacks
to retrieve the next set of items.
Shield Advanced might return the list of AttackSummary objects in batches smaller than the number
specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always also
return a NextToken
.
nextToken
- The token returned by a previous call to indicate that there is more data available. If not null, more
results are available. Pass this value for the NextMarker
parameter in a subsequent call to
ListAttacks
to retrieve the next set of items.
Shield Advanced might return the list of AttackSummary objects in batches smaller than the number
specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always
also return a NextToken
.
public String toString()
toString
in class Object
Object.toString()
public ListAttacksResult clone()