Package tech.kronicle.sdk.models
Class LogLevelSummary
- java.lang.Object
-
- tech.kronicle.sdk.models.LogLevelSummary
-
public final class LogLevelSummary extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogLevelSummary.LogLevelSummaryBuilder
-
Constructor Summary
Constructors Constructor Description LogLevelSummary(java.lang.String level, java.lang.Long count, java.util.List<LogMessageSummary> topMessages)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogLevelSummary.LogLevelSummaryBuilderbuilder()booleanequals(java.lang.Object o)java.lang.LonggetCount()java.lang.StringgetLevel()java.util.List<LogMessageSummary>getTopMessages()inthashCode()LogLevelSummary.LogLevelSummaryBuildertoBuilder()java.lang.StringtoString()LogLevelSummarywithCount(java.lang.Long count)LogLevelSummarywithLevel(java.lang.String level)LogLevelSummarywithTopMessages(java.util.List<LogMessageSummary> topMessages)
-
-
-
Constructor Detail
-
LogLevelSummary
public LogLevelSummary(java.lang.String level, java.lang.Long count, java.util.List<LogMessageSummary> topMessages)
-
-
Method Detail
-
builder
public static LogLevelSummary.LogLevelSummaryBuilder builder()
-
toBuilder
public LogLevelSummary.LogLevelSummaryBuilder toBuilder()
-
getLevel
public java.lang.String getLevel()
-
getCount
public java.lang.Long getCount()
-
getTopMessages
public java.util.List<LogMessageSummary> getTopMessages()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withLevel
public LogLevelSummary withLevel(java.lang.String level)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCount
public LogLevelSummary withCount(java.lang.Long count)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTopMessages
public LogLevelSummary withTopMessages(java.util.List<LogMessageSummary> topMessages)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-