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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnomalousLogGroup.BuilderimpactEndTime(Instant impactEndTime)The time the anomalous log events stopped.AnomalousLogGroup.BuilderimpactStartTime(Instant impactStartTime)The time the anomalous log events began.AnomalousLogGroup.BuilderlogAnomalyShowcases(Collection<LogAnomalyShowcase> logAnomalyShowcases)The log anomalies in the log group.AnomalousLogGroup.BuilderlogAnomalyShowcases(Consumer<LogAnomalyShowcase.Builder>... logAnomalyShowcases)The log anomalies in the log group.AnomalousLogGroup.BuilderlogAnomalyShowcases(LogAnomalyShowcase... logAnomalyShowcases)The log anomalies in the log group.AnomalousLogGroup.BuilderlogGroupName(String logGroupName)The name of the CloudWatch log group.AnomalousLogGroup.BuildernumberOfLogLinesScanned(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 Detail
-
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 theLogAnomalyShowcase.Builderavoiding the need to create one manually viaLogAnomalyShowcase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#logAnomalyShowcases(List.) - 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:
#logAnomalyShowcases(java.util.Collection)
-
-