@Generated(value="org.immutables.processor.ProxyProcessor") public final class CounterEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CounterEvent.Builder
Builds instances of type
CounterEvent. |
| Modifier and Type | Method and Description |
|---|---|
static CounterEvent.Builder |
builder()
Creates a builder for
CounterEvent. |
boolean |
equals(Object another)
This instance is equal to all instances of
CounterEvent that have equal attribute values. |
static CounterEvent |
from(org.cloudfoundry.dropsonde.events.CounterEvent dropsonde) |
Long |
getDelta()
The amount by which to increment the counter
|
String |
getName()
The name of the counter.
|
Long |
getTotal()
The total value of the counter.
|
int |
hashCode()
Computes a hash code from attributes:
delta, name, total. |
String |
toString()
Prints the immutable value
CounterEvent with attribute values. |
public Long getDelta()
public String getName()
public Long getTotal()
public boolean equals(Object another)
CounterEvent that have equal attribute values.public int hashCode()
delta, name, total.public String toString()
CounterEvent with attribute values.public static CounterEvent.Builder builder()
CounterEvent.
CounterEvent.builder()
.delta(Long) // required delta
.name(String) // required name
.total(Long | null) // nullable total
.build();
public static CounterEvent from(org.cloudfoundry.dropsonde.events.CounterEvent dropsonde)
Copyright © 2020. All rights reserved.