public abstract static class ServerImage.Builder<T extends ServerImage.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Option |
architecture |
protected Set<BillingToken> |
billingTokens |
protected Date |
createdTime |
protected String |
description |
protected String |
friendlyName |
protected long |
id |
protected boolean |
isActive |
protected boolean |
isPublic |
protected String |
location |
protected String |
name |
protected Option |
os |
protected Customer |
owner |
protected double |
price |
protected ServerImageState |
state |
protected ServerImageType |
type |
protected Date |
updatedTime |
Constructor and Description |
---|
ServerImage.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
architecture(Option architecture) |
T |
billingTokens(BillingToken... in) |
T |
billingTokens(Set<BillingToken> billingTokens) |
ServerImage |
build() |
T |
createdTime(Date createdTime) |
T |
description(String description) |
T |
friendlyName(String friendlyName) |
T |
fromServerImage(ServerImage in) |
T |
id(long id) |
T |
isActive(boolean isActive) |
T |
isPublic(boolean isPublic) |
T |
location(String location) |
T |
name(String name) |
T |
os(Option os) |
T |
owner(Customer owner) |
T |
price(double price) |
protected abstract T |
self() |
T |
state(ServerImageState state) |
T |
type(ServerImageType type) |
T |
updatedTime(Date updatedTime) |
protected long id
protected String name
protected String friendlyName
protected String description
protected Option os
protected Option architecture
protected ServerImageType type
protected ServerImageState state
protected double price
protected String location
protected boolean isActive
protected boolean isPublic
protected Date createdTime
protected Date updatedTime
protected Set<BillingToken> billingTokens
protected Customer owner
protected abstract T self()
public T id(long id)
ServerImage.getId()
public T name(String name)
ServerImage.getName()
public T friendlyName(String friendlyName)
ServerImage.getFriendlyName()
public T description(String description)
ServerImage.getDescription()
public T os(Option os)
ServerImage.getOs()
public T architecture(Option architecture)
ServerImage.getArchitecture()
public T type(ServerImageType type)
ServerImage.getType()
public T state(ServerImageState state)
ServerImage.getState()
public T price(double price)
ServerImage.getPrice()
public T location(String location)
ServerImage.getLocation()
public T isActive(boolean isActive)
ServerImage.isActive()
public T isPublic(boolean isPublic)
ServerImage.isPublic()
public T createdTime(Date createdTime)
ServerImage.getCreatedTime()
public T updatedTime(Date updatedTime)
ServerImage.getUpdatedTime()
public T billingTokens(Set<BillingToken> billingTokens)
ServerImage.getBillingTokens()
public T billingTokens(BillingToken... in)
public T owner(Customer owner)
ServerImage.getOwner()
public ServerImage build()
public T fromServerImage(ServerImage in)
Copyright © 2009-2013 jclouds. All Rights Reserved.