public class Container extends Object implements Comparable<Container>
ContainerApi
Modifier and Type | Class and Description |
---|---|
static class |
Container.Builder |
Modifier | Constructor and Description |
---|---|
protected |
Container(String name,
Long objectCount,
Long bytesUsed,
com.google.common.base.Optional<Boolean> anybodyRead,
Map<String,String> metadata,
com.google.common.collect.Multimap<String,String> headers) |
Modifier and Type | Method and Description |
---|---|
static Container.Builder |
builder() |
int |
compareTo(Container that) |
boolean |
equals(Object object) |
com.google.common.base.Optional<Boolean> |
getAnybodyRead()
Absent except in
Get Container commands. |
Long |
getBytesUsed() |
com.google.common.collect.Multimap<String,String> |
getHeaders() |
Map<String,String> |
getMetadata()
NOTE
|
String |
getName() |
Long |
getObjectCount() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Container.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"name","count","bytes","anybodyRead","metadata","headers"}) protected Container(String name, Long objectCount, Long bytesUsed, com.google.common.base.Optional<Boolean> anybodyRead, Map<String,String> metadata, com.google.common.collect.Multimap<String,String> headers)
public String getName()
public Long getObjectCount()
public Long getBytesUsed()
public com.google.common.base.Optional<Boolean> getAnybodyRead()
Get Container
commands.CreateContainerOptions.anybodyRead()
public Map<String,String> getMetadata()
Map<String, String>
containing this container's metadata.public com.google.common.collect.Multimap<String,String> getHeaders()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(Container that)
compareTo
in interface Comparable<Container>
public static Container.Builder builder()
public Container.Builder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.