public class ImageBuilder extends ComputeMetadataBuilder
id, tags, type
location, name, providerId, uri, userMetadata
Constructor and Description |
---|
ImageBuilder() |
Modifier and Type | Method and Description |
---|---|
ImageBuilder |
adminPassword(String adminPassword)
Deprecated.
|
Image |
build() |
ImageBuilder |
defaultCredentials(Credentials defaultLoginCredentials)
Deprecated.
|
ImageBuilder |
defaultCredentials(LoginCredentials defaultLoginCredentials) |
ImageBuilder |
description(String description) |
static ImageBuilder |
fromImage(Image image) |
ImageBuilder |
id(String id) |
ImageBuilder |
ids(String id)
set id and providerId to the same value;
|
ImageBuilder |
location(Location location) |
ImageBuilder |
name(String name) |
ImageBuilder |
operatingSystem(OperatingSystem operatingSystem) |
ImageBuilder |
providerId(String providerId) |
ImageBuilder |
tags(Iterable<String> tags) |
ImageBuilder |
uri(URI uri) |
ImageBuilder |
userMetadata(Map<String,String> userMetadata) |
ImageBuilder |
version(String version) |
fromComputeMetadata
public ImageBuilder operatingSystem(OperatingSystem operatingSystem)
public ImageBuilder version(@Nullable String version)
public ImageBuilder description(String description)
@Deprecated public ImageBuilder adminPassword(@Nullable String adminPassword)
@Deprecated public ImageBuilder defaultCredentials(@Nullable Credentials defaultLoginCredentials)
defaultCredentials(LoginCredentials)
public ImageBuilder defaultCredentials(@Nullable LoginCredentials defaultLoginCredentials)
public ImageBuilder id(String id)
id
in class ComputeMetadataBuilder
public ImageBuilder tags(Iterable<String> tags)
tags
in class ComputeMetadataBuilder
public ImageBuilder ids(String id)
ComputeMetadataBuilder
ids
in class ComputeMetadataBuilder
public ImageBuilder providerId(String providerId)
providerId
in class ComputeMetadataBuilder
public ImageBuilder name(String name)
name
in class ComputeMetadataBuilder
public ImageBuilder location(Location location)
location
in class ComputeMetadataBuilder
public ImageBuilder uri(URI uri)
uri
in class ComputeMetadataBuilder
public ImageBuilder userMetadata(Map<String,String> userMetadata)
userMetadata
in class ComputeMetadataBuilder
public Image build()
build
in class ComputeMetadataBuilder
public static ImageBuilder fromImage(Image image)
Copyright © 2009-2012 jclouds. All Rights Reserved.