Interface AnomalousLogGroup.Builder

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

public static interface AnomalousLogGroup.Builder extends SdkPojo, CopyableBuilder<AnomalousLogGroup.Builder,AnomalousLogGroup>
  • Method Details

    • logGroupName

      AnomalousLogGroup.Builder logGroupName(String logGroupName)

      The name of the CloudWatch log group.

      Parameters:
      logGroupName - The name of the CloudWatch log group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactStartTime

      AnomalousLogGroup.Builder impactStartTime(Instant impactStartTime)

      The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs.

      Parameters:
      impactStartTime - The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactEndTime

      AnomalousLogGroup.Builder impactEndTime(Instant impactEndTime)

      The time the anomalous log events stopped.

      Parameters:
      impactEndTime - The time the anomalous log events stopped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfLogLinesScanned

      AnomalousLogGroup.Builder numberOfLogLinesScanned(Integer numberOfLogLinesScanned)

      The number of log lines that were scanned for anomalous log events.

      Parameters:
      numberOfLogLinesScanned - The number of log lines that were scanned for anomalous log events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logAnomalyShowcases

      AnomalousLogGroup.Builder logAnomalyShowcases(Collection<LogAnomalyShowcase> logAnomalyShowcases)

      The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.

      Parameters:
      logAnomalyShowcases - The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logAnomalyShowcases

      AnomalousLogGroup.Builder logAnomalyShowcases(LogAnomalyShowcase... logAnomalyShowcases)

      The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.

      Parameters:
      logAnomalyShowcases - The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logAnomalyShowcases

      AnomalousLogGroup.Builder logAnomalyShowcases(Consumer<LogAnomalyShowcase.Builder>... logAnomalyShowcases)

      The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.

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

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

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