org.jclouds.openstack.swift.v1.domain
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
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.
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
builder
public static Segment.Builder builder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.