org.jclouds.openstack.glance.v1_0.domain
Class ImageDetails.Builder<T extends ImageDetails.Builder<T>>

java.lang.Object
  extended by org.jclouds.openstack.v2_0.domain.Resource.Builder<T>
      extended by org.jclouds.openstack.glance.v1_0.domain.Image.Builder<T>
          extended by org.jclouds.openstack.glance.v1_0.domain.ImageDetails.Builder<T>
Enclosing class:
ImageDetails

public abstract static class ImageDetails.Builder<T extends ImageDetails.Builder<T>>
extends Image.Builder<T>


Field Summary
protected  Date createdAt
           
protected  Date deletedAt
           
protected  boolean isPublic
           
protected  String location
           
protected  long minDisk
           
protected  long minRam
           
protected  String owner
           
protected  Map<String,String> properties
           
protected  Image.Status status
           
protected  Date updatedAt
           
 
Fields inherited from class org.jclouds.openstack.glance.v1_0.domain.Image.Builder
checksum, containerFormat, diskFormat, size
 
Fields inherited from class org.jclouds.openstack.v2_0.domain.Resource.Builder
id, links, name
 
Constructor Summary
ImageDetails.Builder()
           
 
Method Summary
 ImageDetails build()
           
 T createdAt(Date createdAt)
           
 T deletedAt(Date deletedAt)
           
 T fromImageDetails(ImageDetails in)
           
 T isPublic(boolean isPublic)
           
 T location(String location)
           
 T minDisk(long minDisk)
           
 T minRam(long minRam)
           
 T owner(String owner)
           
 T properties(Map<String,String> properties)
           
 T status(Image.Status status)
           
 T updatedAt(Date updatedAt)
           
 
Methods inherited from class org.jclouds.openstack.glance.v1_0.domain.Image.Builder
checksum, containerFormat, diskFormat, fromImage, size
 
Methods inherited from class org.jclouds.openstack.v2_0.domain.Resource.Builder
fromResource, id, links, links, name, self
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minDisk

protected long minDisk

minRam

protected long minRam

location

protected String location

owner

protected String owner

updatedAt

protected Date updatedAt

createdAt

protected Date createdAt

deletedAt

protected Date deletedAt

status

protected Image.Status status

isPublic

protected boolean isPublic

properties

protected Map<String,String> properties
Constructor Detail

ImageDetails.Builder

public ImageDetails.Builder()
Method Detail

minDisk

public T minDisk(long minDisk)
See Also:
ImageDetails.getMinDisk()

minRam

public T minRam(long minRam)
See Also:
ImageDetails.getMinRam()

location

public T location(String location)
See Also:
ImageDetails.getLocation()

owner

public T owner(String owner)
See Also:
ImageDetails.getOwner()

updatedAt

public T updatedAt(Date updatedAt)
See Also:
ImageDetails.getUpdatedAt()

createdAt

public T createdAt(Date createdAt)
See Also:
ImageDetails.getCreatedAt()

deletedAt

public T deletedAt(Date deletedAt)
See Also:
ImageDetails.getDeletedAt()

status

public T status(Image.Status status)
See Also:
ImageDetails.getStatus()

isPublic

public T isPublic(boolean isPublic)
See Also:
ImageDetails.isPublic()

properties

public T properties(Map<String,String> properties)
See Also:
ImageDetails.getProperties()

build

public ImageDetails build()
Overrides:
build in class Image.Builder<T extends ImageDetails.Builder<T>>

fromImageDetails

public T fromImageDetails(ImageDetails in)


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.