Interface Sequence.Builder

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

        Sequence.Builder actors​(Collection<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

        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

        Sequence.Builder actors​(Consumer<Actor.Builder>... 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).

        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:
        #actors(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.
      • 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 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).

        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:
        #signals(java.util.Collection)
      • 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).

        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:
        #sequenceIndicators(java.util.Collection)