Package tech.kronicle.sdk.models
Class LogSummaryState
- java.lang.Object
-
- tech.kronicle.sdk.models.LogSummaryState
-
- All Implemented Interfaces:
ComponentEnvironmentState,ComponentState,ObjectWithId,State
public final class LogSummaryState extends java.lang.Object implements ComponentEnvironmentState
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogSummaryState.LogSummaryStateBuilder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE
-
Constructor Summary
Constructors Constructor Description LogSummaryState(java.lang.String pluginId, java.lang.String environmentId, java.lang.String name, java.time.LocalDateTime startTimestamp, java.time.LocalDateTime endTimestamp, java.util.List<LogLevelSummary> levels, java.util.List<LogSummary> 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 LogSummary>getComparisons()java.time.LocalDateTimegetEndTimestamp()java.lang.StringgetEnvironmentId()java.lang.StringgetId()java.util.List<@NotNull @Valid LogLevelSummary>getLevels()java.lang.StringgetName()java.lang.StringgetPluginId()java.time.LocalDateTimegetStartTimestamp()java.lang.StringgetType()java.time.LocalDateTimegetUpdateTimestamp()inthashCode()static LogSummaryStateof(java.lang.String pluginId, java.lang.String environmentId, LogSummary logSummary, java.util.List<LogSummary> comparisons, java.time.LocalDateTime updateTimestamp)LogSummaryState.LogSummaryStateBuildertoBuilder()java.lang.StringtoString()LogSummaryStatewithComparisons(java.util.List<@NotNull @Valid LogSummary> comparisons)LogSummaryStatewithEndTimestamp(java.time.LocalDateTime endTimestamp)LogSummaryStatewithEnvironmentId(java.lang.String environmentId)LogSummaryStatewithLevels(java.util.List<@NotNull @Valid LogLevelSummary> levels)LogSummaryStatewithName(java.lang.String name)LogSummaryStatewithPluginId(java.lang.String pluginId)LogSummaryStatewithStartTimestamp(java.time.LocalDateTime startTimestamp)LogSummaryStatewithUpdateTimestamp(java.time.LocalDateTime updateTimestamp)
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LogSummaryState
public LogSummaryState(java.lang.String pluginId, java.lang.String environmentId, java.lang.String name, java.time.LocalDateTime startTimestamp, java.time.LocalDateTime endTimestamp, java.util.List<LogLevelSummary> levels, java.util.List<LogSummary> comparisons, java.time.LocalDateTime updateTimestamp)
-
-
Method Detail
-
of
public static LogSummaryState of(java.lang.String pluginId, java.lang.String environmentId, LogSummary logSummary, java.util.List<LogSummary> comparisons, java.time.LocalDateTime updateTimestamp)
-
builder
public static LogSummaryState.LogSummaryStateBuilder builder()
-
toBuilder
public LogSummaryState.LogSummaryStateBuilder toBuilder()
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceComponentState- Specified by:
getTypein interfaceState
-
getPluginId
public java.lang.String getPluginId()
- Specified by:
getPluginIdin interfaceComponentState- Specified by:
getPluginIdin interfaceState
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceComponentState- Specified by:
getIdin interfaceObjectWithId- Specified by:
getIdin interfaceState
-
getEnvironmentId
public java.lang.String getEnvironmentId()
- Specified by:
getEnvironmentIdin interfaceComponentEnvironmentState
-
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()
-
getComparisons
public java.util.List<@NotNull @Valid LogSummary> 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
-
withPluginId
public LogSummaryState withPluginId(java.lang.String pluginId)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEnvironmentId
public LogSummaryState withEnvironmentId(java.lang.String environmentId)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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 LogLevelSummary> 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 LogSummary> 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).
-
-