@Generated(value="software.amazon.awssdk:codegen") public final class ListAttacksRequest extends ShieldRequest implements ToCopyableBuilder<ListAttacksRequest.Builder,ListAttacksRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListAttacksRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListAttacksRequest.Builder |
builder() |
TimeRange |
endTime()
The end of the time period for the attacks.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The maximum number of AttackSummary objects to be returned.
|
String |
nextToken()
The
ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest . |
List<String> |
resourceArns()
The ARN (Amazon Resource Name) of the resource that was attacked.
|
static Class<? extends ListAttacksRequest.Builder> |
serializableBuilderClass() |
TimeRange |
startTime()
The time period for the attacks.
|
ListAttacksRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public TimeRange startTime()
The time period for the attacks.
public TimeRange endTime()
The end of the time period for the attacks.
public String nextToken()
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 Integer maxResults()
The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned.
public ListAttacksRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListAttacksRequest.Builder,ListAttacksRequest>
toBuilder
in class ShieldRequest
public static ListAttacksRequest.Builder builder()
public static Class<? extends ListAttacksRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.