public class ImageBuilder extends ComputeMetadataBuilder
id, tags, type
location, name, providerId, uri, userMetadata
Constructor and Description |
---|
ImageBuilder() |
Modifier and Type | Method and Description |
---|---|
ImageBuilder |
backendStatus(String backendStatus) |
Image |
build() |
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 |
status(Image.Status status) |
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 status(Image.Status status)
public ImageBuilder backendStatus(@Nullable String backendStatus)
public ImageBuilder version(@Nullable String version)
public ImageBuilder description(@Nullable String description)
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-2014 The Apache Software Foundation. All Rights Reserved.