public static final class StorageImageConfiguration.Builder extends ImageConfiguration.Builder<StorageImageConfiguration,StorageImageConfiguration.Builder>
StorageImageConfiguration
objects.Modifier and Type | Method and Description |
---|---|
StorageImageConfiguration |
build()
Creates a
StorageImageConfiguration object. |
StorageImageConfiguration.Builder |
setContainerType(StorageImageConfiguration.ContainerType containerType)
Sets the format used to encode and transmit the block device.
|
StorageImageConfiguration.Builder |
setSha1(String sha1)
Sets the SHA1 checksum of the disk image before unpackaging.
|
StorageImageConfiguration.Builder |
setSource(String source)
Sets the full Google Cloud Storage URL where the disk image is stored (e.g.
|
public StorageImageConfiguration.Builder setContainerType(StorageImageConfiguration.ContainerType containerType)
TAR
. This is just a container and transmission format, not a runtime format.public StorageImageConfiguration.Builder setSha1(String sha1)
public StorageImageConfiguration.Builder setSource(String source)
gs://bucket/file
).public StorageImageConfiguration build()
StorageImageConfiguration
object.build
in class ImageConfiguration.Builder<StorageImageConfiguration,StorageImageConfiguration.Builder>
Copyright © 2019 Google LLC. All rights reserved.