@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() |
boolean |
equals(Object obj) |
TimeRange |
getEndTime()
The end of the time period for the attacks.
|
Integer |
getMaxResults()
The maximum number of AttackSummary objects to be returned.
|
String |
getNextToken()
The
ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. |
List<String> |
getResourceArns()
The ARN (Amazon Resource Name) of the resource that was 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 maximum number of AttackSummary objects to be returned.
|
void |
setNextToken(String nextToken)
The
ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. |
void |
setResourceArns(Collection<String> resourceArns)
The ARN (Amazon Resource Name) of the resource that was 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 maximum number of AttackSummary objects to be returned.
|
ListAttacksRequest |
withNextToken(String nextToken)
The
ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. |
ListAttacksRequest |
withResourceArns(Collection<String> resourceArns)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
ListAttacksRequest |
withResourceArns(String... resourceArns)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
ListAttacksRequest |
withStartTime(TimeRange startTime)
The start of the time period for the attacks.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic List<String> getResourceArns()
The ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable resources for this account will be included.
public void setResourceArns(Collection<String> resourceArns)
The ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable resources for this account will be included.
resourceArns - The ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable
resources for this account will be included.public ListAttacksRequest withResourceArns(String... resourceArns)
The ARN (Amazon Resource Name) of the resource that was attacked. If this is left 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 ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable
resources for this account will be included.public ListAttacksRequest withResourceArns(Collection<String> resourceArns)
The ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable resources for this account will be included.
resourceArns - The ARN (Amazon Resource Name) of the resource that was attacked. If this is left 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 sample request above
indicates a number type because the default used by WAF is Unix time in seconds. However any valid
timestamp
format is allowed.
startTime - The start of the time period for the attacks. This is a timestamp type. The sample request
above indicates a number type because the default used by WAF is Unix time in seconds.
However any valid timestamp
format is allowed.public TimeRange getStartTime()
The start of the time period for the attacks. This is a timestamp type. The sample request above
indicates a number type because the default used by WAF is Unix time in seconds. However any valid
timestamp
format is allowed.
timestamp type. The sample request
above indicates a number type because the default used by WAF is Unix time in seconds.
However any valid timestamp
format is allowed.public ListAttacksRequest withStartTime(TimeRange startTime)
The start of the time period for the attacks. This is a timestamp type. The sample request above
indicates a number type because the default used by WAF is Unix time in seconds. However any valid
timestamp
format is allowed.
startTime - The start of the time period for the attacks. This is a timestamp type. The sample request
above indicates a number type because the default used by WAF is Unix time in seconds.
However any valid timestamp
format is allowed.public void setEndTime(TimeRange endTime)
The end of the time period for the attacks. This is a timestamp type. The sample request above
indicates a number type because the default used by WAF is Unix time in seconds. However any valid
timestamp
format is allowed.
endTime - The end of the time period for the attacks. This is a timestamp type. The sample request
above indicates a number type because the default used by WAF is Unix time in seconds.
However any valid timestamp
format is allowed.public TimeRange getEndTime()
The end of the time period for the attacks. This is a timestamp type. The sample request above
indicates a number type because the default used by WAF is Unix time in seconds. However any valid
timestamp
format is allowed.
timestamp type. The sample request
above indicates a number type because the default used by WAF is Unix time in seconds.
However any valid timestamp
format is allowed.public ListAttacksRequest withEndTime(TimeRange endTime)
The end of the time period for the attacks. This is a timestamp type. The sample request above
indicates a number type because the default used by WAF is Unix time in seconds. However any valid
timestamp
format is allowed.
endTime - The end of the time period for the attacks. This is a timestamp type. The sample request
above indicates a number type because the default used by WAF is Unix time in seconds.
However any valid timestamp
format is allowed.public void setNextToken(String nextToken)
The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest.
Pass null if this is the first call.
nextToken - The ListAttacksRequest.NextMarker value from a previous call to
ListAttacksRequest. Pass null if this is the first call.public String getNextToken()
The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest.
Pass null if this is the first call.
ListAttacksRequest.NextMarker value from a previous call to
ListAttacksRequest. Pass null if this is the first call.public ListAttacksRequest withNextToken(String nextToken)
The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest.
Pass null if this is the first call.
nextToken - The ListAttacksRequest.NextMarker value from a previous call to
ListAttacksRequest. Pass null if this is the first call.public void setMaxResults(Integer maxResults)
The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the
number of AttackSummary objects returned could be less than MaxResults, even if there are
still more AttackSummary objects yet to return. If there are more AttackSummary objects to return,
AWS WAF will always also return a NextToken.
maxResults - The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20
results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is,
the number of AttackSummary objects returned could be less than MaxResults, even if
there are still more AttackSummary objects yet to return. If there are more AttackSummary
objects to return, AWS WAF will always also return a NextToken.
public Integer getMaxResults()
The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the
number of AttackSummary objects returned could be less than MaxResults, even if there are
still more AttackSummary objects yet to return. If there are more AttackSummary objects to return,
AWS WAF will always also return a NextToken.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is,
the number of AttackSummary objects returned could be less than MaxResults, even if
there are still more AttackSummary objects yet to return. If there are more AttackSummary
objects to return, AWS WAF will always also return a NextToken.
public ListAttacksRequest withMaxResults(Integer maxResults)
The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the
number of AttackSummary objects returned could be less than MaxResults, even if there are
still more AttackSummary objects yet to return. If there are more AttackSummary objects to return,
AWS WAF will always also return a NextToken.
maxResults - The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20
results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is,
the number of AttackSummary objects returned could be less than MaxResults, even if
there are still more AttackSummary objects yet to return. If there are more AttackSummary
objects to return, AWS WAF will always also return a NextToken.
public String toString()
toString in class ObjectObject.toString()public ListAttacksRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.