@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 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 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 time period for the attacks.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 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 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 time period for the attacks.
startTime
- The time period for the attacks.public TimeRange getStartTime()
The time period for the attacks.
public ListAttacksRequest withStartTime(TimeRange startTime)
The time period for the attacks.
startTime
- The time period for the attacks.public void setEndTime(TimeRange endTime)
The end of the time period for the attacks.
endTime
- The end of the time period for the attacks.public TimeRange getEndTime()
The end of the time period for the attacks.
public ListAttacksRequest withEndTime(TimeRange endTime)
The end of the time period for the attacks.
endTime
- The end of the time period for the attacks.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.
maxResults
- The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20
results will be returned.public Integer getMaxResults()
The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned.
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.
maxResults
- The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20
results will be returned.public String toString()
toString
in class Object
Object.toString()
public ListAttacksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.