CopyableBuilder<ListAttacksRequest.Builder,ListAttacksRequest>
, SdkBuilder<ListAttacksRequest.Builder,ListAttacksRequest>
public static interface ListAttacksRequest.Builder extends CopyableBuilder<ListAttacksRequest.Builder,ListAttacksRequest>
Modifier and Type | Method | Description |
---|---|---|
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 |
resourceArns(String... resourceArns) |
The ARN (Amazon Resource Name) of the resource that was attacked.
|
ListAttacksRequest.Builder |
resourceArns(Collection<String> resourceArns) |
The ARN (Amazon Resource Name) of the resource that was attacked.
|
ListAttacksRequest.Builder |
startTime(TimeRange startTime) |
The time period for the attacks.
|
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.
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.ListAttacksRequest.Builder startTime(TimeRange startTime)
The time period for the attacks.
startTime
- The time period for the attacks.ListAttacksRequest.Builder endTime(TimeRange endTime)
The end of the time period for the attacks.
endTime
- The end of the time period for the attacks.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.