public class SwiftObject extends Object implements Comparable<SwiftObject>
ObjectApi
Modifier and Type | Class and Description |
---|---|
static class |
SwiftObject.Builder |
Modifier | Constructor and Description |
---|---|
protected |
SwiftObject(String name,
URI uri,
String etag,
Date lastModified,
com.google.common.collect.Multimap<String,String> headers,
Map<String,String> metadata,
Payload payload) |
Modifier and Type | Method and Description |
---|---|
static SwiftObject.Builder |
builder() |
int |
compareTo(SwiftObject that) |
boolean |
equals(Object object) |
String |
getEtag()
Deprecated.
Please use
getETag() as this method will be removed in jclouds 1.8. |
String |
getETag() |
com.google.common.collect.Multimap<String,String> |
getHeaders() |
Date |
getLastModified() |
Map<String,String> |
getMetadata()
NOTE
|
String |
getName() |
Payload |
getPayload()
NOTE
|
URI |
getUri() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
SwiftObject.Builder |
toBuilder() |
String |
toString() |
public String getName()
public String getEtag()
getETag()
as this method will be removed in jclouds 1.8.public String getETag()
public com.google.common.collect.Multimap<String,String> getHeaders()
public Map<String,String> getMetadata()
Map<String, String>
containing this object's metadata. The map is empty
except in GetObjectMetadata
or
GetObject
commands.protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(SwiftObject that)
compareTo
in interface Comparable<SwiftObject>
public static SwiftObject.Builder builder()
public SwiftObject.Builder toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.