Package tech.kronicle.sdk.models
Class LogSummary
- java.lang.Object
-
- tech.kronicle.sdk.models.LogSummary
-
public final class LogSummary extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogSummary.LogSummaryBuilder
-
Constructor Summary
Constructors Constructor Description LogSummary(java.lang.String name, java.time.LocalDateTime startTimestamp, java.time.LocalDateTime endTimestamp, java.util.List<LogLevelSummary> levels)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogSummary.LogSummaryBuilderbuilder()booleanequals(java.lang.Object o)java.time.LocalDateTimegetEndTimestamp()java.util.List<@NotNull @Valid LogLevelSummary>getLevels()java.lang.StringgetName()java.time.LocalDateTimegetStartTimestamp()inthashCode()LogSummary.LogSummaryBuildertoBuilder()java.lang.StringtoString()LogSummarywithEndTimestamp(java.time.LocalDateTime endTimestamp)LogSummarywithLevels(java.util.List<@NotNull @Valid LogLevelSummary> levels)LogSummarywithName(java.lang.String name)LogSummarywithStartTimestamp(java.time.LocalDateTime startTimestamp)
-
-
-
Constructor Detail
-
LogSummary
public LogSummary(java.lang.String name, java.time.LocalDateTime startTimestamp, java.time.LocalDateTime endTimestamp, java.util.List<LogLevelSummary> levels)
-
-
Method Detail
-
builder
public static LogSummary.LogSummaryBuilder builder()
-
toBuilder
public LogSummary.LogSummaryBuilder toBuilder()
-
getName
public java.lang.String getName()
-
getStartTimestamp
public java.time.LocalDateTime getStartTimestamp()
-
getEndTimestamp
public java.time.LocalDateTime getEndTimestamp()
-
getLevels
public java.util.List<@NotNull @Valid LogLevelSummary> getLevels()
-
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
-
withName
public LogSummary withName(java.lang.String name)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withStartTimestamp
public LogSummary withStartTimestamp(java.time.LocalDateTime startTimestamp)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEndTimestamp
public LogSummary withEndTimestamp(java.time.LocalDateTime endTimestamp)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLevels
public LogSummary withLevels(java.util.List<@NotNull @Valid LogLevelSummary> levels)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-