Class Segment
- java.lang.Object
-
- org.jclouds.openstack.swift.v1.domain.Segment
-
public class Segment extends Object
Represents a single segment of a multi-part upload.- See Also:
StaticLargeObjectApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Segment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Segment.Builder
builder()
boolean
equals(Object object)
String
getETag()
String
getPath()
long
getSizeBytes()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
Method Detail
-
getPath
public String getPath()
- Returns:
- The container and object name in the format:
<container-name>/<object-name>
-
getETag
public String getETag()
- Returns:
- The ETag of the content of the segment object.
-
getSizeBytes
public long getSizeBytes()
- Returns:
- The size of the segment object.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static Segment.Builder builder()
-
-