public class UsageStatistic extends java.lang.Object implements HasId, java.io.Serializable
Constructor and Description |
---|
UsageStatistic(Status status,
java.lang.String id,
java.lang.String applicationId,
java.lang.String start,
java.lang.String end,
long duration,
java.util.Map<java.lang.String,java.lang.String> metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getApplicationId() |
long |
getDuration() |
java.lang.String |
getEnd() |
java.lang.String |
getId() |
java.util.Map<java.lang.String,java.lang.String> |
getMetadata() |
java.lang.String |
getStart() |
Status |
getStatus() |
int |
hashCode() |
java.lang.String |
toString() |
public UsageStatistic(Status status, java.lang.String id, java.lang.String applicationId, java.lang.String start, java.lang.String end, long duration, java.util.Map<java.lang.String,java.lang.String> metadata)
public Status getStatus()
public java.lang.String getApplicationId()
public java.lang.String getStart()
public java.lang.String getEnd()
public long getDuration()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object