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.
      • 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 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)
      • 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 the ResourceV2.Builder avoiding the need to create one manually via ResourceV2.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #resources(List).

        Parameters:
        resources - a consumer that will call methods on ResourceV2.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.
      • 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.

        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 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)