public static interface ListAttacksRequest.Builder extends ShieldRequest.Builder, 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 be returned.
|
ListAttacksRequest.Builder |
nextToken(String nextToken)
The
ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest . |
ListAttacksRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ListAttacksRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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 time period for the attacks.
|
ListAttacksRequest.Builder |
startTime(TimeRange startTime)
The time period for the attacks.
|
build
requestOverrideConfig
copy
apply, build
ListAttacksRequest.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 time period for the attacks.
startTime
- The time period for the attacks.default ListAttacksRequest.Builder startTime(Consumer<TimeRange.Builder> startTime)
The time period for the attacks.
This is a convenience that creates an instance of theTimeRange.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.Builder
startTime(TimeRange)
ListAttacksRequest.Builder endTime(TimeRange endTime)
The end of the time period for the attacks.
endTime
- The end of the time period for the attacks.default ListAttacksRequest.Builder endTime(Consumer<TimeRange.Builder> endTime)
The end of the time period for the attacks.
This is a convenience that creates an instance of theTimeRange.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.Builder
endTime(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 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.ListAttacksRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ListAttacksRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.