@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResourceArns()
Returns true if the ResourceArns property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
Integer |
maxResults()
The maximum number of AttackSummary objects to return.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListAttacksRequest.Builder> |
serializableBuilderClass() |
TimeRange |
startTime()
The start of the time period for the attacks.
|
ListAttacksRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasResourceArns()
public final 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.
You can use hasResourceArns() to see if a value was sent in this field.
public final 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.
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 final 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.
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 final 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 final Integer maxResults()
The maximum number of AttackSummary objects to return. If you leave this blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of
objects returned could be less than MaxResults, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in NextToken that you can use
in your next request, to get the next batch of objects.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number
of objects returned could be less than MaxResults, even if there are still more objects yet
to return. If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use in your next request, to get the next batch of objects.
public ListAttacksRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListAttacksRequest.Builder,ListAttacksRequest>toBuilder in class ShieldRequestpublic static ListAttacksRequest.Builder builder()
public static Class<? extends ListAttacksRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.