Interface Countermeasure.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Countermeasure.Builder,,Countermeasure> SdkBuilder<Countermeasure.Builder,,Countermeasure> SdkPojo
- Enclosing class:
Countermeasure
@Mutable
@NotThreadSafe
public static interface Countermeasure.Builder
extends SdkPojo, CopyableBuilder<Countermeasure.Builder,Countermeasure>
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<CountermeasureAction> actions) The actions for the defensive tactic.actions(Consumer<CountermeasureAction.Builder>... actions) The actions for the defensive tactic.actions(CountermeasureAction... actions) The actions for the defensive tactic.defenseTactic(String defenseTactic) The defensive tactic.defenseTactic(DefenseTactic defenseTactic) The defensive tactic.description(String description) A description of the countermeasure.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
defenseTactic
The defensive tactic. Possible values are
Isolate,Evict,Restore,Harden, andDetect.- Parameters:
defenseTactic- The defensive tactic. Possible values areIsolate,Evict,Restore,Harden, andDetect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defenseTactic
The defensive tactic. Possible values are
Isolate,Evict,Restore,Harden, andDetect.- Parameters:
defenseTactic- The defensive tactic. Possible values areIsolate,Evict,Restore,Harden, andDetect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actions
The actions for the defensive tactic.
- Parameters:
actions- The actions for the defensive tactic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions for the defensive tactic.
- Parameters:
actions- The actions for the defensive tactic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions for the defensive tactic.
This is a convenience method that creates an instance of theCountermeasureAction.Builderavoiding the need to create one manually viaCountermeasureAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<CountermeasureAction>).- Parameters:
actions- a consumer that will call methods onCountermeasureAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the countermeasure.
- Parameters:
description- A description of the countermeasure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-