public static interface SummarizedAttackVector.Builder extends CopyableBuilder<SummarizedAttackVector.Builder,SummarizedAttackVector>
Modifier and Type | Method and Description |
---|---|
SummarizedAttackVector.Builder |
vectorCounters(Collection<SummarizedCounter> vectorCounters)
The list of counters that describe the details of the attack.
|
SummarizedAttackVector.Builder |
vectorCounters(Consumer<SummarizedCounter.Builder>... vectorCounters)
The list of counters that describe the details of the attack.
|
SummarizedAttackVector.Builder |
vectorCounters(SummarizedCounter... vectorCounters)
The list of counters that describe the details of the attack.
|
SummarizedAttackVector.Builder |
vectorType(String vectorType)
The attack type, for example, SNMP reflection or SYN flood.
|
copy
applyMutation, build
SummarizedAttackVector.Builder vectorType(String vectorType)
The attack type, for example, SNMP reflection or SYN flood.
vectorType
- The attack type, for example, SNMP reflection or SYN flood.SummarizedAttackVector.Builder vectorCounters(Collection<SummarizedCounter> vectorCounters)
The list of counters that describe the details of the attack.
vectorCounters
- The list of counters that describe the details of the attack.SummarizedAttackVector.Builder vectorCounters(SummarizedCounter... vectorCounters)
The list of counters that describe the details of the attack.
vectorCounters
- The list of counters that describe the details of the attack.SummarizedAttackVector.Builder vectorCounters(Consumer<SummarizedCounter.Builder>... vectorCounters)
The list of counters that describe the details of the attack.
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 #vectorCounters(List)
.vectorCounters
- a consumer that will call methods on List.Builder
#vectorCounters(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.