org.jclouds.gogrid.domain
Class ServerImage.Builder<T extends ServerImage.Builder<T>>
java.lang.Object
org.jclouds.gogrid.domain.ServerImage.Builder<T>
- Enclosing class:
- ServerImage
public abstract static class ServerImage.Builder<T extends ServerImage.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected long id
name
protected String name
friendlyName
protected String friendlyName
description
protected String description
os
protected Option os
architecture
protected Option architecture
type
protected ServerImageType type
state
protected ServerImageState state
price
protected double price
location
protected String location
isActive
protected boolean isActive
isPublic
protected boolean isPublic
createdTime
protected Date createdTime
updatedTime
protected Date updatedTime
billingTokens
protected Set<BillingToken> billingTokens
owner
protected Customer owner
ServerImage.Builder
public ServerImage.Builder()
self
protected abstract T self()
id
public T id(long id)
- See Also:
ServerImage.getId()
name
public T name(String name)
- See Also:
ServerImage.getName()
friendlyName
public T friendlyName(String friendlyName)
- See Also:
ServerImage.getFriendlyName()
description
public T description(String description)
- See Also:
ServerImage.getDescription()
os
public T os(Option os)
- See Also:
ServerImage.getOs()
architecture
public T architecture(Option architecture)
- See Also:
ServerImage.getArchitecture()
type
public T type(ServerImageType type)
- See Also:
ServerImage.getType()
state
public T state(ServerImageState state)
- See Also:
ServerImage.getState()
price
public T price(double price)
- See Also:
ServerImage.getPrice()
location
public T location(String location)
- See Also:
ServerImage.getLocation()
isActive
public T isActive(boolean isActive)
- See Also:
ServerImage.isActive()
isPublic
public T isPublic(boolean isPublic)
- See Also:
ServerImage.isPublic()
createdTime
public T createdTime(Date createdTime)
- See Also:
ServerImage.getCreatedTime()
updatedTime
public T updatedTime(Date updatedTime)
- See Also:
ServerImage.getUpdatedTime()
billingTokens
public T billingTokens(Set<BillingToken> billingTokens)
- See Also:
ServerImage.getBillingTokens()
billingTokens
public T billingTokens(BillingToken... in)
owner
public T owner(Customer owner)
- See Also:
ServerImage.getOwner()
build
public ServerImage build()
fromServerImage
public T fromServerImage(ServerImage in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.