Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
affinityGroup |
protected com.google.common.base.Optional<String> |
category |
protected com.google.common.base.Optional<String> |
description |
protected com.google.common.base.Optional<URI> |
eula |
protected String |
label |
protected com.google.common.base.Optional<String> |
location |
protected com.google.common.base.Optional<Integer> |
logicalSizeInGB |
protected com.google.common.base.Optional<URI> |
mediaLink |
protected String |
name |
protected OSType |
os |
Constructor and Description |
---|
OSImage.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
affinityGroup(String affinityGroup) |
OSImage |
build() |
T |
category(String category) |
T |
description(String description) |
T |
eula(URI eula) |
T |
fromHostedService(OSImage in) |
T |
label(String label) |
T |
location(String location) |
T |
logicalSizeInGB(Integer logicalSizeInGB) |
T |
mediaLink(URI mediaLink) |
T |
name(String name) |
T |
os(OSType os) |
protected abstract T |
self() |
protected OSType os
protected String name
protected com.google.common.base.Optional<Integer> logicalSizeInGB
protected com.google.common.base.Optional<String> description
protected com.google.common.base.Optional<String> category
protected com.google.common.base.Optional<String> location
protected com.google.common.base.Optional<String> affinityGroup
protected com.google.common.base.Optional<URI> mediaLink
protected com.google.common.base.Optional<URI> eula
protected String label
protected abstract T self()
public T os(OSType os)
OSImage.getOS()
public T name(String name)
OSImage.getName()
public T description(String description)
OSImage.getDescription()
public T logicalSizeInGB(Integer logicalSizeInGB)
OSImage.getLogicalSizeInGB()
public T category(String category)
OSImage.getCategory()
public T location(String location)
OSImage.getLocation()
public T affinityGroup(String affinityGroup)
OSImage.getAffinityGroup()
public T mediaLink(URI mediaLink)
OSImage.getMediaLink()
public T eula(URI eula)
OSImage.getEula()
public T label(String label)
OSImage.getLabel()
public OSImage build()
Copyright © 2009-2013 jclouds. All Rights Reserved.