Package tech.kronicle.sdk.models
Class LogSummaryState
- java.lang.Object
-
- tech.kronicle.sdk.models.LogSummaryState
-
public final class LogSummaryState extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogSummaryState.LogSummaryStateBuilder
-
Constructor Summary
Constructors Constructor Description LogSummaryState(java.lang.String name, java.time.LocalDateTime startTimestamp, java.time.LocalDateTime endTimestamp, java.util.List<LogLevelState> levels, java.util.List<LogSummaryState> comparisons, java.time.LocalDateTime updateTimestamp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogSummaryState.LogSummaryStateBuilderbuilder()booleanequals(java.lang.Object o)java.util.List<@NotNull @Valid LogSummaryState>getComparisons()java.time.LocalDateTimegetEndTimestamp()java.util.List<@NotNull @Valid LogLevelState>getLevels()java.lang.StringgetName()java.time.LocalDateTimegetStartTimestamp()java.time.LocalDateTimegetUpdateTimestamp()inthashCode()LogSummaryState.LogSummaryStateBuildertoBuilder()java.lang.StringtoString()LogSummaryStatewithComparisons(java.util.List<@NotNull @Valid LogSummaryState> comparisons)LogSummaryStatewithEndTimestamp(java.time.LocalDateTime endTimestamp)LogSummaryStatewithLevels(java.util.List<@NotNull @Valid LogLevelState> levels)LogSummaryStatewithName(java.lang.String name)LogSummaryStatewithStartTimestamp(java.time.LocalDateTime startTimestamp)LogSummaryStatewithUpdateTimestamp(java.time.LocalDateTime updateTimestamp)
-
-
-
Constructor Detail
-
LogSummaryState
public LogSummaryState(java.lang.String name, java.time.LocalDateTime startTimestamp, java.time.LocalDateTime endTimestamp, java.util.List<LogLevelState> levels, java.util.List<LogSummaryState> comparisons, java.time.LocalDateTime updateTimestamp)
-
-
Method Detail
-
builder
public static LogSummaryState.LogSummaryStateBuilder builder()
-
toBuilder
public LogSummaryState.LogSummaryStateBuilder 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 LogLevelState> getLevels()
-
getComparisons
public java.util.List<@NotNull @Valid LogSummaryState> getComparisons()
-
getUpdateTimestamp
public java.time.LocalDateTime getUpdateTimestamp()
-
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 LogSummaryState 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 LogSummaryState 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 LogSummaryState 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 LogSummaryState withLevels(java.util.List<@NotNull @Valid LogLevelState> levels)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withComparisons
public LogSummaryState withComparisons(java.util.List<@NotNull @Valid LogSummaryState> comparisons)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUpdateTimestamp
public LogSummaryState withUpdateTimestamp(java.time.LocalDateTime updateTimestamp)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-