org.jclouds.compute.domain
Class ImageBuilder
java.lang.Object
org.jclouds.domain.ResourceMetadataBuilder<ComputeType>
org.jclouds.compute.domain.ComputeMetadataBuilder
org.jclouds.compute.domain.ImageBuilder
public class ImageBuilder
- extends ComputeMetadataBuilder
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageBuilder
public ImageBuilder()
operatingSystem
public ImageBuilder operatingSystem(OperatingSystem operatingSystem)
version
public ImageBuilder version(@Nullable
String version)
description
public ImageBuilder description(String description)
adminPassword
public ImageBuilder adminPassword(@Nullable
String adminPassword)
defaultCredentials
public ImageBuilder defaultCredentials(@Nullable
Credentials defaultCredentials)
id
public ImageBuilder id(String id)
- Overrides:
id
in class ComputeMetadataBuilder
tags
public ImageBuilder tags(Iterable<String> tags)
- Overrides:
tags
in class ComputeMetadataBuilder
ids
public ImageBuilder ids(String id)
- Description copied from class:
ComputeMetadataBuilder
- set id and providerId to the same value;
- Overrides:
ids
in class ComputeMetadataBuilder
providerId
public ImageBuilder providerId(String providerId)
- Overrides:
providerId
in class ComputeMetadataBuilder
name
public ImageBuilder name(String name)
- Overrides:
name
in class ComputeMetadataBuilder
location
public ImageBuilder location(Location location)
- Overrides:
location
in class ComputeMetadataBuilder
uri
public ImageBuilder uri(URI uri)
- Overrides:
uri
in class ComputeMetadataBuilder
userMetadata
public ImageBuilder userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadata
in class ComputeMetadataBuilder
build
public Image build()
- Overrides:
build
in class ComputeMetadataBuilder
fromImage
public static ImageBuilder fromImage(Image image)
Copyright © 2009-2011 jclouds. All Rights Reserved.