Interface Sequence.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Sequence.Builder,Sequence>,SdkBuilder<Sequence.Builder,Sequence>,SdkPojo
- Enclosing class:
- Sequence
public static interface Sequence.Builder extends SdkPojo, CopyableBuilder<Sequence.Builder,Sequence>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sequence.Builderactors(Collection<Actor> actors)Contains information about the actors involved in the attack sequence.Sequence.Builderactors(Consumer<Actor.Builder>... actors)Contains information about the actors involved in the attack sequence.Sequence.Builderactors(Actor... actors)Contains information about the actors involved in the attack sequence.Sequence.Builderdescription(String description)Description of the attack sequence.Sequence.Builderendpoints(Collection<NetworkEndpoint> endpoints)Contains information about the network endpoints that were used in the attack sequence.Sequence.Builderendpoints(Consumer<NetworkEndpoint.Builder>... endpoints)Contains information about the network endpoints that were used in the attack sequence.Sequence.Builderendpoints(NetworkEndpoint... endpoints)Contains information about the network endpoints that were used in the attack sequence.Sequence.Builderresources(Collection<ResourceV2> resources)Contains information about the resources involved in the attack sequence.Sequence.Builderresources(Consumer<ResourceV2.Builder>... resources)Contains information about the resources involved in the attack sequence.Sequence.Builderresources(ResourceV2... resources)Contains information about the resources involved in the attack sequence.Sequence.BuildersequenceIndicators(Collection<Indicator> sequenceIndicators)Contains information about the indicators observed in the attack sequence.Sequence.BuildersequenceIndicators(Consumer<Indicator.Builder>... sequenceIndicators)Contains information about the indicators observed in the attack sequence.Sequence.BuildersequenceIndicators(Indicator... sequenceIndicators)Contains information about the indicators observed in the attack sequence.Sequence.Buildersignals(Collection<Signal> signals)Contains information about the signals involved in the attack sequence.Sequence.Buildersignals(Consumer<Signal.Builder>... signals)Contains information about the signals involved in the attack sequence.Sequence.Buildersignals(Signal... signals)Contains information about the signals involved in the attack sequence.Sequence.Builderuid(String uid)Unique identifier of the attack sequence.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
uid
Sequence.Builder uid(String uid)
Unique identifier of the attack sequence.
- Parameters:
uid- Unique identifier of the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sequence.Builder description(String description)
Description of the attack sequence.
- Parameters:
description- Description of the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actors
Sequence.Builder actors(Collection<Actor> actors)
Contains information about the actors involved in the attack sequence.
- Parameters:
actors- Contains information about the actors involved in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actors
Sequence.Builder actors(Actor... actors)
Contains information about the actors involved in the attack sequence.
- Parameters:
actors- Contains information about the actors involved in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actors
Sequence.Builder actors(Consumer<Actor.Builder>... actors)
Contains information about the actors involved in the attack sequence.
This is a convenience method that creates an instance of theActor.Builderavoiding the need to create one manually viaActor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actors(List.) - Parameters:
actors- a consumer that will call methods onActor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actors(java.util.Collection)
-
resources
Sequence.Builder resources(Collection<ResourceV2> resources)
Contains information about the resources involved in the attack sequence.
- Parameters:
resources- Contains information about the resources involved in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Sequence.Builder resources(ResourceV2... resources)
Contains information about the resources involved in the attack sequence.
- Parameters:
resources- Contains information about the resources involved in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Sequence.Builder resources(Consumer<ResourceV2.Builder>... resources)
Contains information about the resources involved in the attack sequence.
This is a convenience method that creates an instance of theResourceV2.Builderavoiding the need to create one manually viaResourceV2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - Parameters:
resources- a consumer that will call methods onResourceV2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resources(java.util.Collection)
-
endpoints
Sequence.Builder endpoints(Collection<NetworkEndpoint> endpoints)
Contains information about the network endpoints that were used in the attack sequence.
- Parameters:
endpoints- Contains information about the network endpoints that were used in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
Sequence.Builder endpoints(NetworkEndpoint... endpoints)
Contains information about the network endpoints that were used in the attack sequence.
- Parameters:
endpoints- Contains information about the network endpoints that were used in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
Sequence.Builder endpoints(Consumer<NetworkEndpoint.Builder>... endpoints)
Contains information about the network endpoints that were used in the attack sequence.
This is a convenience method that creates an instance of theNetworkEndpoint.Builderavoiding the need to create one manually viaNetworkEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#endpoints(List.) - Parameters:
endpoints- a consumer that will call methods onNetworkEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#endpoints(java.util.Collection)
-
signals
Sequence.Builder signals(Collection<Signal> signals)
Contains information about the signals involved in the attack sequence.
- Parameters:
signals- Contains information about the signals involved in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signals
Sequence.Builder signals(Signal... signals)
Contains information about the signals involved in the attack sequence.
- Parameters:
signals- Contains information about the signals involved in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signals
Sequence.Builder signals(Consumer<Signal.Builder>... signals)
Contains information about the signals involved in the attack sequence.
This is a convenience method that creates an instance of theSignal.Builderavoiding the need to create one manually viaSignal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#signals(List.) - Parameters:
signals- a consumer that will call methods onSignal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#signals(java.util.Collection)
-
sequenceIndicators
Sequence.Builder sequenceIndicators(Collection<Indicator> sequenceIndicators)
Contains information about the indicators observed in the attack sequence.
- Parameters:
sequenceIndicators- Contains information about the indicators observed in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequenceIndicators
Sequence.Builder sequenceIndicators(Indicator... sequenceIndicators)
Contains information about the indicators observed in the attack sequence.
- Parameters:
sequenceIndicators- Contains information about the indicators observed in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequenceIndicators
Sequence.Builder sequenceIndicators(Consumer<Indicator.Builder>... sequenceIndicators)
Contains information about the indicators observed in the attack sequence.
This is a convenience method that creates an instance of theIndicator.Builderavoiding the need to create one manually viaIndicator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sequenceIndicators(List.) - Parameters:
sequenceIndicators- a consumer that will call methods onIndicator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sequenceIndicators(java.util.Collection)
-
-