Interface LogAnomalyClass.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LogAnomalyClass.Builder,
,LogAnomalyClass> SdkBuilder<LogAnomalyClass.Builder,
,LogAnomalyClass> SdkPojo
- Enclosing class:
LogAnomalyClass
public static interface LogAnomalyClass.Builder
extends SdkPojo, CopyableBuilder<LogAnomalyClass.Builder,LogAnomalyClass>
-
Method Summary
Modifier and TypeMethodDescriptionexplanation
(String explanation) The explanation for why the log event is considered an anomaly.logAnomalyToken
(String logAnomalyToken) The token where the anomaly was detected.logAnomalyType
(String logAnomalyType) The type of log anomaly that has been detected.logAnomalyType
(LogAnomalyType logAnomalyType) The type of log anomaly that has been detected.logEventId
(String logEventId) The ID of the log event.logEventTimestamp
(Instant logEventTimestamp) The time of the first occurrence of the anomalous log event.logStreamName
(String logStreamName) The name of the Amazon CloudWatch log stream that the anomalous log event belongs to.numberOfLogLinesOccurrences
(Integer numberOfLogLinesOccurrences) The number of log lines where this anomalous log event occurs.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
-
logStreamName
The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.
- Parameters:
logStreamName
- The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logAnomalyType
The type of log anomaly that has been detected.
- Parameters:
logAnomalyType
- The type of log anomaly that has been detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logAnomalyType
The type of log anomaly that has been detected.
- Parameters:
logAnomalyType
- The type of log anomaly that has been detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logAnomalyToken
The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.
- Parameters:
logAnomalyToken
- The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logEventId
The ID of the log event.
- Parameters:
logEventId
- The ID of the log event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
explanation
The explanation for why the log event is considered an anomaly.
- Parameters:
explanation
- The explanation for why the log event is considered an anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfLogLinesOccurrences
The number of log lines where this anomalous log event occurs.
- Parameters:
numberOfLogLinesOccurrences
- The number of log lines where this anomalous log event occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logEventTimestamp
The time of the first occurrence of the anomalous log event.
- Parameters:
logEventTimestamp
- The time of the first occurrence of the anomalous log event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-