public static interface AttackSummary.Builder extends CopyableBuilder<AttackSummary.Builder,AttackSummary>
Modifier and Type | Method and Description |
---|---|
AttackSummary.Builder |
attackId(String attackId)
The unique identifier (ID) of the attack.
|
AttackSummary.Builder |
attackVectors(AttackVectorDescription... attackVectors)
The list of attacks for a specified time period.
|
AttackSummary.Builder |
attackVectors(Collection<AttackVectorDescription> attackVectors)
The list of attacks for a specified time period.
|
AttackSummary.Builder |
attackVectors(Consumer<AttackVectorDescription.Builder>... attackVectors)
The list of attacks for a specified time period.
|
AttackSummary.Builder |
endTime(Instant endTime)
The end time of the attack, in the format 2016-12-16T13:50Z.
|
AttackSummary.Builder |
resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
AttackSummary.Builder |
startTime(Instant startTime)
The start time of the attack, in the format 2016-12-16T13:50Z.
|
copy
applyMutation, build
AttackSummary.Builder attackId(String attackId)
The unique identifier (ID) of the attack.
attackId
- The unique identifier (ID) of the attack.AttackSummary.Builder resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
resourceArn
- The ARN (Amazon Resource Name) of the resource that was attacked.AttackSummary.Builder startTime(Instant startTime)
The start time of the attack, in the format 2016-12-16T13:50Z.
startTime
- The start time of the attack, in the format 2016-12-16T13:50Z.AttackSummary.Builder endTime(Instant endTime)
The end time of the attack, in the format 2016-12-16T13:50Z.
endTime
- The end time of the attack, in the format 2016-12-16T13:50Z.AttackSummary.Builder attackVectors(Collection<AttackVectorDescription> attackVectors)
The list of attacks for a specified time period.
attackVectors
- The list of attacks for a specified time period.AttackSummary.Builder attackVectors(AttackVectorDescription... attackVectors)
The list of attacks for a specified time period.
attackVectors
- The list of attacks for a specified time period.AttackSummary.Builder attackVectors(Consumer<AttackVectorDescription.Builder>... attackVectors)
The list of attacks for a specified time period.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #attackVectors(List)
.attackVectors
- a consumer that will call methods on List.Builder
#attackVectors(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.