Interface AnomalousLogGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnomalousLogGroup.Builder,
,AnomalousLogGroup> SdkBuilder<AnomalousLogGroup.Builder,
,AnomalousLogGroup> SdkPojo
- Enclosing class:
AnomalousLogGroup
-
Method Summary
Modifier and TypeMethodDescriptionimpactEndTime
(Instant impactEndTime) The time the anomalous log events stopped.impactStartTime
(Instant impactStartTime) The time the anomalous log events began.logAnomalyShowcases
(Collection<LogAnomalyShowcase> logAnomalyShowcases) The log anomalies in the log group.logAnomalyShowcases
(Consumer<LogAnomalyShowcase.Builder>... logAnomalyShowcases) The log anomalies in the log group.logAnomalyShowcases
(LogAnomalyShowcase... logAnomalyShowcases) The log anomalies in the log group.logGroupName
(String logGroupName) The name of the CloudWatch log group.numberOfLogLinesScanned
(Integer numberOfLogLinesScanned) The number of log lines that were scanned for anomalous log events.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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 theLogAnomalyShowcase.Builder
avoiding the need to create one manually viaLogAnomalyShowcase.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologAnomalyShowcases(List<LogAnomalyShowcase>)
.- Parameters:
logAnomalyShowcases
- a consumer that will call methods onLogAnomalyShowcase.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-