Interface Detection.Builder

  • Method Details

    • anomaly

      Detection.Builder anomaly(Anomaly anomaly)

      The details about the anomalous activity that caused GuardDuty to generate the finding.

      Parameters:
      anomaly - The details about the anomalous activity that caused GuardDuty to generate the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomaly

      default Detection.Builder anomaly(Consumer<Anomaly.Builder> anomaly)

      The details about the anomalous activity that caused GuardDuty to generate the finding.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to anomaly(Anomaly).

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

      Detection.Builder sequence(Sequence sequence)

      The details about the attack sequence.

      Parameters:
      sequence - The details about the attack sequence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sequence

      default Detection.Builder sequence(Consumer<Sequence.Builder> sequence)

      The details about the attack sequence.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sequence(Sequence).

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