public static interface ListAttacksRequest.Builder extends ShieldRequest.Builder, SdkPojo, CopyableBuilder<ListAttacksRequest.Builder,ListAttacksRequest>
| Modifier and Type | Method and Description |
|---|---|
default ListAttacksRequest.Builder |
endTime(Consumer<TimeRange.Builder> endTime)
The end of the time period for the attacks.
|
ListAttacksRequest.Builder |
endTime(TimeRange endTime)
The end of the time period for the attacks.
|
ListAttacksRequest.Builder |
maxResults(Integer maxResults)
The maximum number of AttackSummary objects to return.
|
ListAttacksRequest.Builder |
nextToken(String nextToken)
The
ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. |
ListAttacksRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListAttacksRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListAttacksRequest.Builder |
resourceArns(Collection<String> resourceArns)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
ListAttacksRequest.Builder |
resourceArns(String... resourceArns)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
default ListAttacksRequest.Builder |
startTime(Consumer<TimeRange.Builder> startTime)
The start of the time period for the attacks.
|
ListAttacksRequest.Builder |
startTime(TimeRange startTime)
The start of the time period for the attacks.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListAttacksRequest.Builder resourceArns(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.ListAttacksRequest.Builder resourceArns(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.ListAttacksRequest.Builder startTime(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.default ListAttacksRequest.Builder startTime(Consumer<TimeRange.Builder> 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.
TimeRange.Builder avoiding the need to create
one manually via TimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to startTime(TimeRange).startTime - a consumer that will call methods on TimeRange.BuilderstartTime(TimeRange)ListAttacksRequest.Builder endTime(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.default ListAttacksRequest.Builder endTime(Consumer<TimeRange.Builder> 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.
TimeRange.Builder avoiding the need to create
one manually via TimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to endTime(TimeRange).endTime - a consumer that will call methods on TimeRange.BuilderendTime(TimeRange)ListAttacksRequest.Builder nextToken(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.ListAttacksRequest.Builder maxResults(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.
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.
ListAttacksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListAttacksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.