Class Claim
- java.lang.Object
-
- org.jclouds.openstack.marconi.v1.domain.Claim
-
public class Claim extends Object
A claim for messages in a queue.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Claim.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Claim.Builder
builder()
boolean
equals(Object obj)
int
getAge()
String
getId()
List<Message>
getMessages()
int
getTTL()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Claim.Builder
toBuilder()
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- The id of this message.
-
getTTL
public int getTTL()
- See Also:
CreateMessage.Builder.ttl(int)
-
getAge
public int getAge()
- Returns:
- Age of this message in seconds.
-
getMessages
public List<Message> getMessages()
- Returns:
- The messages that are associated with this claim.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static Claim.Builder builder()
-
toBuilder
public Claim.Builder toBuilder()
-
-