Interface SummarizedAttackVector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SummarizedAttackVector.Builder,
,SummarizedAttackVector> SdkBuilder<SummarizedAttackVector.Builder,
,SummarizedAttackVector> SdkPojo
- Enclosing class:
SummarizedAttackVector
public static interface SummarizedAttackVector.Builder
extends SdkPojo, CopyableBuilder<SummarizedAttackVector.Builder,SummarizedAttackVector>
-
Method Summary
Modifier and TypeMethodDescriptionvectorCounters
(Collection<SummarizedCounter> vectorCounters) The list of counters that describe the details of the attack.vectorCounters
(Consumer<SummarizedCounter.Builder>... vectorCounters) The list of counters that describe the details of the attack.vectorCounters
(SummarizedCounter... vectorCounters) The list of counters that describe the details of the attack.vectorType
(String vectorType) The attack type, for example, SNMP reflection or SYN flood.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
vectorType
The attack type, for example, SNMP reflection or SYN flood.
- Parameters:
vectorType
- The attack type, for example, SNMP reflection or SYN flood.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorCounters
The list of counters that describe the details of the attack.
- Parameters:
vectorCounters
- The list of counters that describe the details of the attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorCounters
The list of counters that describe the details of the attack.
- Parameters:
vectorCounters
- The list of counters that describe the details of the attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorCounters
SummarizedAttackVector.Builder vectorCounters(Consumer<SummarizedCounter.Builder>... vectorCounters) The list of counters that describe the details of the attack.
This is a convenience method that creates an instance of theSummarizedCounter.Builder
avoiding the need to create one manually viaSummarizedCounter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovectorCounters(List<SummarizedCounter>)
.- Parameters:
vectorCounters
- a consumer that will call methods onSummarizedCounter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-