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

      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

      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<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:
    • 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<ResourceV2>).

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

      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<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:
    • additionalSequenceTypes

      Sequence.Builder additionalSequenceTypes(Collection<String> additionalSequenceTypes)

      Additional types of sequences that may be associated with the attack sequence finding, providing further context about the nature of the detected threat.

      Parameters:
      additionalSequenceTypes - Additional types of sequences that may be associated with the attack sequence finding, providing further context about the nature of the detected threat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalSequenceTypes

      Sequence.Builder additionalSequenceTypes(String... additionalSequenceTypes)

      Additional types of sequences that may be associated with the attack sequence finding, providing further context about the nature of the detected threat.

      Parameters:
      additionalSequenceTypes - Additional types of sequences that may be associated with the attack sequence finding, providing further context about the nature of the detected threat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.