@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAttacksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAttacksRequest() |
Modifier and Type | Method and Description |
---|---|
ListAttacksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
TimeRange |
getEndTime()
The end of the time period for the attacks.
|
Integer |
getMaxResults()
The greatest number of objects that you want Shield Advanced to return to the list request.
|
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. |
List<String> |
getResourceArns()
The ARNs (Amazon Resource Names) of the resources that were attacked.
|
TimeRange |
getStartTime()
The start of the time period for the attacks.
|
int |
hashCode() |
void |
setEndTime(TimeRange endTime)
The end of the time period for the attacks.
|
void |
setMaxResults(Integer maxResults)
The greatest number of objects that you want Shield Advanced to return to the list request.
|
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. |
void |
setResourceArns(Collection<String> resourceArns)
The ARNs (Amazon Resource Names) of the resources that were attacked.
|
void |
setStartTime(TimeRange startTime)
The start of the time period for the attacks.
|
String |
toString()
Returns a string representation of this object.
|
ListAttacksRequest |
withEndTime(TimeRange endTime)
The end of the time period for the attacks.
|
ListAttacksRequest |
withMaxResults(Integer maxResults)
The greatest number of objects that you want Shield Advanced to return to the list request.
|
ListAttacksRequest |
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. |
ListAttacksRequest |
withResourceArns(Collection<String> resourceArns)
The ARNs (Amazon Resource Names) of the resources that were attacked.
|
ListAttacksRequest |
withResourceArns(String... resourceArns)
The ARNs (Amazon Resource Names) of the resources that were attacked.
|
ListAttacksRequest |
withStartTime(TimeRange startTime)
The start of the time period for the attacks.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getResourceArns()
The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all applicable resources for this account will be included.
public void setResourceArns(Collection<String> resourceArns)
The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all applicable resources for this account will be included.
resourceArns
- The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all
applicable resources for this account will be included.public ListAttacksRequest withResourceArns(String... resourceArns)
The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all applicable resources for this account will be included.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection)
or withResourceArns(java.util.Collection)
if you want to
override the existing values.
resourceArns
- The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all
applicable resources for this account will be included.public ListAttacksRequest withResourceArns(Collection<String> resourceArns)
The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all applicable resources for this account will be included.
resourceArns
- The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all
applicable resources for this account will be included.public void setStartTime(TimeRange startTime)
The start of the time period for the attacks. This is a timestamp
type. The request syntax listing
for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.
startTime
- The start of the time period for the attacks. This is a timestamp
type. The request syntax
listing for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.public TimeRange getStartTime()
The start of the time period for the attacks. This is a timestamp
type. The request syntax listing
for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.
timestamp
type. The request syntax
listing for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.public ListAttacksRequest withStartTime(TimeRange startTime)
The start of the time period for the attacks. This is a timestamp
type. The request syntax listing
for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.
startTime
- The start of the time period for the attacks. This is a timestamp
type. The request syntax
listing for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.public void setEndTime(TimeRange endTime)
The end of the time period for the attacks. This is a timestamp
type. The request syntax listing for
this call indicates a number
type, but you can provide the time in any valid timestamp format setting.
endTime
- The end of the time period for the attacks. This is a timestamp
type. The request syntax
listing for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.public TimeRange getEndTime()
The end of the time period for the attacks. This is a timestamp
type. The request syntax listing for
this call indicates a number
type, but you can provide the time in any valid timestamp format setting.
timestamp
type. The request syntax
listing for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.public ListAttacksRequest withEndTime(TimeRange endTime)
The end of the time period for the attacks. This is a timestamp
type. The request syntax listing for
this call indicates a number
type, but you can provide the time in any valid timestamp format setting.
endTime
- The end of the time period for the attacks. This is a timestamp
type. The request syntax
listing for this call indicates a number
type, but you can provide the time in any valid timestamp format setting.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.
On your first call to a list operation, leave this setting empty.
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.
On your first call to a list operation, leave this setting empty.
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.
On your first call to a list operation, leave this setting empty.
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.
On your first call to a list operation, leave this setting empty.
public ListAttacksRequest 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.
On your first call to a list operation, leave this setting empty.
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.
On your first call to a list operation, leave this setting empty.
public void setMaxResults(Integer maxResults)
The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might
return fewer objects than you indicate in this setting, even if more objects are available. If there are more
objects remaining, Shield Advanced will always also return a NextToken
value in the response.
The default setting is 20.
maxResults
- The greatest number of objects that you want Shield Advanced to return to the list request. Shield
Advanced might return fewer objects than you indicate in this setting, even if more objects are available.
If there are more objects remaining, Shield Advanced will always also return a NextToken
value in the response.
The default setting is 20.
public Integer getMaxResults()
The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might
return fewer objects than you indicate in this setting, even if more objects are available. If there are more
objects remaining, Shield Advanced will always also return a NextToken
value in the response.
The default setting is 20.
NextToken
value in the response.
The default setting is 20.
public ListAttacksRequest withMaxResults(Integer maxResults)
The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might
return fewer objects than you indicate in this setting, even if more objects are available. If there are more
objects remaining, Shield Advanced will always also return a NextToken
value in the response.
The default setting is 20.
maxResults
- The greatest number of objects that you want Shield Advanced to return to the list request. Shield
Advanced might return fewer objects than you indicate in this setting, even if more objects are available.
If there are more objects remaining, Shield Advanced will always also return a NextToken
value in the response.
The default setting is 20.
public String toString()
toString
in class Object
Object.toString()
public ListAttacksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()