@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()
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a
NextToken value in the response. |
int |
hashCode() |
void |
setAttackSummaries(Collection<AttackSummary> attackSummaries)
The attack information for the specified time range.
|
void |
setNextToken(String nextToken)
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a
NextToken value in the response. |
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)
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a
NextToken value in the response. |
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)
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a NextToken
value in the response. You can retrieve the
next batch of objects by requesting the list again and providing the token that was returned by the prior call in
your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
MaxResults
setting. Shield Advanced will not return more than MaxResults
objects, but
may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken
value.
nextToken
- When you request a list of objects from Shield Advanced, if the response does not include all of the
remaining available objects, Shield Advanced includes a NextToken
value in the response. You
can retrieve the next batch of objects by requesting the list again and providing the token that was
returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call
with the MaxResults
setting. Shield Advanced will not return more than
MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken
value.
public String getNextToken()
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a NextToken
value in the response. You can retrieve the
next batch of objects by requesting the list again and providing the token that was returned by the prior call in
your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
MaxResults
setting. Shield Advanced will not return more than MaxResults
objects, but
may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken
value.
NextToken
value in the response. You
can retrieve the next batch of objects by requesting the list again and providing the token that was
returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call
with the MaxResults
setting. Shield Advanced will not return more than
MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include
a NextToken
value.
public ListAttacksResult withNextToken(String nextToken)
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a NextToken
value in the response. You can retrieve the
next batch of objects by requesting the list again and providing the token that was returned by the prior call in
your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
MaxResults
setting. Shield Advanced will not return more than MaxResults
objects, but
may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken
value.
nextToken
- When you request a list of objects from Shield Advanced, if the response does not include all of the
remaining available objects, Shield Advanced includes a NextToken
value in the response. You
can retrieve the next batch of objects by requesting the list again and providing the token that was
returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call
with the MaxResults
setting. Shield Advanced will not return more than
MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken
value.
public String toString()
toString
in class Object
Object.toString()
public ListAttacksResult clone()