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 classSegment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Segment.Builderbuilder()booleanequals(Object object)StringgetETag()StringgetPath()longgetSizeBytes()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()StringtoString()
-
-
-
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()
-
-