org.jclouds.openstack.swift.v1.domain
Class Segment

java.lang.Object
  extended by 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
static class Segment.Builder
           
 
Method Summary
static Segment.Builder builder()
           
 boolean equals(Object object)
           
 String getETag()
           
 String getPath()
           
 long getSizeBytes()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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.

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.