public abstract static class ImageInfo.Builder extends Object
ImageInfo
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract ImageInfo |
build()
Creates a
ImageInfo object. |
abstract ImageInfo.Builder |
setConfiguration(ImageConfiguration configuration)
Sets the image configuration.
|
abstract ImageInfo.Builder |
setDescription(String description)
Sets an optional textual description of the image.
|
abstract ImageInfo.Builder |
setImageId(ImageId imageId)
Sets the image identity.
|
public abstract ImageInfo.Builder setImageId(ImageId imageId)
public abstract ImageInfo.Builder setDescription(String description)
public abstract ImageInfo.Builder setConfiguration(ImageConfiguration configuration)
DiskImageConfiguration
to create an image from an
existing disk. Use StorageImageConfiguration
to create an image from a file stored in
Google Cloud Storage.public abstract ImageInfo build()
ImageInfo
object.Copyright © 2019 Google LLC. All rights reserved.