org.jclouds.vcloud.director.v1_5.domain
Class Media

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.Resource
      extended by org.jclouds.vcloud.director.v1_5.domain.Entity
          extended by org.jclouds.vcloud.director.v1_5.domain.ResourceEntity
              extended by org.jclouds.vcloud.director.v1_5.domain.Media

public class Media
extends ResourceEntity

Represents removable media, such as a CD-ROM, DVD or Floppy disk.

 <complexType name="Media" />
 


Nested Class Summary
static class Media.Builder<B extends Media.Builder<B>>
           
static class Media.ImageType
           
 
Nested classes/interfaces inherited from class org.jclouds.vcloud.director.v1_5.domain.ResourceEntity
ResourceEntity.Status
 
Field Summary
protected  Media.ImageType imageType
           
protected  Owner owner
           
protected  long size
           
 
Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
logger
 
Constructor Summary
protected Media()
           
  Media(Media.Builder<?> builder)
           
 
Method Summary
static Media.Builder<?> builder()
           
 boolean clone(Object o)
           
 boolean equals(Object o)
           
 Media.ImageType getImageType()
          Gets the value of the imageType property.
 Owner getOwner()
          Gets the value of the owner property.
 long getSize()
          Gets the value of the size property.
 int hashCode()
           
 com.google.common.base.Objects.ToStringHelper string()
           
 Media.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.ResourceEntity
getFiles, getStatus
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Entity
getDescription, getId, getName, getTasks, setDescription, setName
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
getHref, getLinks, getType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

owner

protected Owner owner

imageType

protected Media.ImageType imageType

size

protected long size
Constructor Detail

Media

public Media(Media.Builder<?> builder)

Media

protected Media()
Method Detail

builder

public static Media.Builder<?> builder()

toBuilder

public Media.Builder<?> toBuilder()
Overrides:
toBuilder in class ResourceEntity

getOwner

public Owner getOwner()
Gets the value of the owner property.


getImageType

public Media.ImageType getImageType()
Gets the value of the imageType property.


getSize

public long getSize()
Gets the value of the size property.


equals

public boolean equals(Object o)
Overrides:
equals in class ResourceEntity

clone

public boolean clone(Object o)
Overrides:
clone in class ResourceEntity

hashCode

public int hashCode()
Overrides:
hashCode in class ResourceEntity

string

public com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class ResourceEntity


Copyright © 2009-2012 jclouds. All Rights Reserved.