org.jclouds.vcloud.director.v1_5.domain
Class File
java.lang.Object
org.jclouds.vcloud.director.v1_5.domain.Resource
org.jclouds.vcloud.director.v1_5.domain.Entity
org.jclouds.vcloud.director.v1_5.domain.File
public class File
- extends Entity
Represents a file to be transferred (uploaded or downloaded).
Java class for File complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="File">
<complexContent>
<extension base="{http://www.vmware.com/vcloud/v1.5}EntityType">
<attribute name="size" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="bytesTransferred" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="checksum" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource |
logger |
size
protected Long size
bytesTransferred
protected Long bytesTransferred
checksum
protected String checksum
File
public File(File.Builder<?> builder)
builder
public static File.Builder<?> builder()
toBuilder
public File.Builder<?> toBuilder()
- Overrides:
toBuilder in class Entity
getSize
public Long getSize()
- Gets the value of the size property.
- Returns:
- possible object is
Long
getBytesTransferred
public Long getBytesTransferred()
- Gets the value of the bytesTransferred property.
- Returns:
- possible object is
Long
getChecksum
public String getChecksum()
- Gets the value of the checksum property.
- Returns:
- possible object is
String
equals
public boolean equals(Object o)
- Overrides:
equals in class Entity
hashCode
public int hashCode()
- Overrides:
hashCode in class Entity
string
public com.google.common.base.Objects.ToStringHelper string()
- Overrides:
string in class Entity
Copyright © 2009-2012 jclouds. All Rights Reserved.