public static interface AttackSummary.Builder extends SdkPojo, 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 Unix time in seconds.
|
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 Unix time in seconds.
|
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 Unix time in seconds. For more information see timestamp.
startTime
- The start time of the attack, in Unix time in seconds. For more information see timestamp.AttackSummary.Builder endTime(Instant endTime)
The end time of the attack, in Unix time in seconds. For more information see timestamp.
endTime
- The end time of the attack, in Unix time in seconds. For more information see timestamp.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.