Package tech.kronicle.sdk.models
Class LogLevelState
- java.lang.Object
-
- tech.kronicle.sdk.models.LogLevelState
-
public final class LogLevelState extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogLevelState.LogLevelStateBuilder
-
Constructor Summary
Constructors Constructor Description LogLevelState(java.lang.String level, java.lang.Long count, java.util.List<LogMessageState> topMessages)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogLevelState.LogLevelStateBuilderbuilder()booleanequals(java.lang.Object o)java.lang.LonggetCount()java.lang.StringgetLevel()java.util.List<LogMessageState>getTopMessages()inthashCode()LogLevelState.LogLevelStateBuildertoBuilder()java.lang.StringtoString()LogLevelStatewithCount(java.lang.Long count)LogLevelStatewithLevel(java.lang.String level)LogLevelStatewithTopMessages(java.util.List<LogMessageState> topMessages)
-
-
-
Constructor Detail
-
LogLevelState
public LogLevelState(java.lang.String level, java.lang.Long count, java.util.List<LogMessageState> topMessages)
-
-
Method Detail
-
builder
public static LogLevelState.LogLevelStateBuilder builder()
-
toBuilder
public LogLevelState.LogLevelStateBuilder toBuilder()
-
getLevel
public java.lang.String getLevel()
-
getCount
public java.lang.Long getCount()
-
getTopMessages
public java.util.List<LogMessageState> 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 LogLevelState 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 LogLevelState 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 LogLevelState withTopMessages(java.util.List<LogMessageState> topMessages)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-