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 classAged.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Aged.Builderbuilder()booleanequals(Object obj)intgetAge()DategetCreated()StringgetId()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()Aged.BuildertoBuilder()StringtoString()
-
-
-
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()
-
-