Interface Sequence.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Sequence.Builder,Sequence>, SdkBuilder<Sequence.Builder,Sequence>, SdkPojo
Enclosing class:
Sequence

@Mutable @NotThreadSafe public static interface Sequence.Builder extends SdkPojo, CopyableBuilder<Sequence.Builder,Sequence>
  • Method Details

    • 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.
    • actors

      Provides information about the actors involved in the attack sequence.

      Parameters:
      actors - Provides 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)

      Provides information about the actors involved in the attack sequence.

      Parameters:
      actors - Provides 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

      Provides information about the actors involved in the attack sequence.

      This is a convenience method that creates an instance of the Actor.Builder avoiding the need to create one manually via Actor.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actors(List<Actor>).

      Parameters:
      actors - a consumer that will call methods on Actor.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      Contains information about the network endpoints that were used in the attack sequence.

      This is a convenience method that creates an instance of the NetworkEndpoint.Builder avoiding the need to create one manually via NetworkEndpoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to endpoints(List<NetworkEndpoint>).

      Parameters:
      endpoints - a consumer that will call methods on NetworkEndpoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      Contains information about the signals involved in the attack sequence.

      This is a convenience method that creates an instance of the Signal.Builder avoiding the need to create one manually via Signal.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to signals(List<Signal>).

      Parameters:
      signals - a consumer that will call methods on Signal.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sequenceIndicators

      Sequence.Builder sequenceIndicators(Collection<Indicator> sequenceIndicators)

      Contains information about the indicators observed in the attack sequence. The values for SignalIndicators are a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.

      Parameters:
      sequenceIndicators - Contains information about the indicators observed in the attack sequence. The values for SignalIndicators are a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.
      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. The values for SignalIndicators are a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.

      Parameters:
      sequenceIndicators - Contains information about the indicators observed in the attack sequence. The values for SignalIndicators are a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.
      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. The values for SignalIndicators are a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.

      This is a convenience method that creates an instance of the Indicator.Builder avoiding the need to create one manually via Indicator.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sequenceIndicators(List<Indicator>).

      Parameters:
      sequenceIndicators - a consumer that will call methods on Indicator.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: