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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogAnomalyClass.Builderexplanation(String explanation)The explanation for why the log event is considered an anomaly.LogAnomalyClass.BuilderlogAnomalyToken(String logAnomalyToken)The token where the anomaly was detected.LogAnomalyClass.BuilderlogAnomalyType(String logAnomalyType)The type of log anomaly that has been detected.LogAnomalyClass.BuilderlogAnomalyType(LogAnomalyType logAnomalyType)The type of log anomaly that has been detected.LogAnomalyClass.BuilderlogEventId(String logEventId)The ID of the log event.LogAnomalyClass.BuilderlogEventTimestamp(Instant logEventTimestamp)The time of the first occurrence of the anomalous log event.LogAnomalyClass.BuilderlogStreamName(String logStreamName)The name of the Amazon CloudWatch log stream that the anomalous log event belongs to.LogAnomalyClass.BuildernumberOfLogLinesOccurrences(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 Detail
-
logStreamName
LogAnomalyClass.Builder logStreamName(String 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
LogAnomalyClass.Builder logAnomalyType(String 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,LogAnomalyType
-
logAnomalyType
LogAnomalyClass.Builder logAnomalyType(LogAnomalyType 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,LogAnomalyType
-
logAnomalyToken
LogAnomalyClass.Builder logAnomalyToken(String 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
LogAnomalyClass.Builder logEventId(String 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
LogAnomalyClass.Builder explanation(String 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
LogAnomalyClass.Builder numberOfLogLinesOccurrences(Integer 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
LogAnomalyClass.Builder logEventTimestamp(Instant 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.
-
-