Class ImmutableSample
- java.lang.Object
-
- org.opennms.integration.api.v1.timeseries.immutables.ImmutableSample
-
- All Implemented Interfaces:
java.io.Serializable,org.opennms.integration.api.v1.timeseries.Sample
public class ImmutableSample extends java.lang.Object implements org.opennms.integration.api.v1.timeseries.Sample, java.io.Serializable- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableSample.ImmutableSampleBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableSample.ImmutableSampleBuilderbuilder()booleanequals(java.lang.Object o)org.opennms.integration.api.v1.timeseries.MetricgetMetric()java.time.InstantgetTime()java.lang.DoublegetValue()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getMetric
public org.opennms.integration.api.v1.timeseries.Metric getMetric()
- Specified by:
getMetricin interfaceorg.opennms.integration.api.v1.timeseries.Sample
-
getTime
public java.time.Instant getTime()
- Specified by:
getTimein interfaceorg.opennms.integration.api.v1.timeseries.Sample
-
getValue
public java.lang.Double getValue()
- Specified by:
getValuein interfaceorg.opennms.integration.api.v1.timeseries.Sample
-
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
-
builder
public static ImmutableSample.ImmutableSampleBuilder builder()
-
-