Class Aged
- java.lang.Object
-
- org.jclouds.openstack.marconi.v1.domain.Aged
-
public class Aged extends Object
The age of messages in a queue.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Aged.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Aged.Builder
builder()
boolean
equals(Object obj)
int
getAge()
Date
getCreated()
String
getId()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Aged.Builder
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
Aged
@ConstructorProperties({"age","created","href"}) protected Aged(int age, Date created, String id)
-
-
Method Detail
-
getAge
public int getAge()
- Returns:
- Age of the oldest/newest message in seconds.
-
getCreated
public Date getCreated()
- Returns:
- Date/Time of the oldest/newest message.
-
getId
public String getId()
- Returns:
- Id of the oldest/newest message.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static Aged.Builder builder()
-
toBuilder
public Aged.Builder toBuilder()
-
-