public class StorageImageConfiguration extends ImageConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
StorageImageConfiguration.Builder
A builder for
StorageImageConfiguration objects. |
static class |
StorageImageConfiguration.ContainerType
The format used to encode and transmit the block device.
|
ImageConfiguration.SourceType, ImageConfiguration.Type| Modifier and Type | Method and Description |
|---|---|
static StorageImageConfiguration.Builder |
builder(String source)
Creates a
StorageImageConfiguration builder given the full Google Cloud Storage URL
where the disk image is stored. |
StorageImageConfiguration.ContainerType |
containerType()
Returns the format used to encode and transmit the block device.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static StorageImageConfiguration |
of(String source)
Creates a
StorageImageConfiguration object given the full Google Cloud Storage URL
where the disk image is stored. |
String |
sha1()
Returns the SHA1 checksum of the disk image before unpackaging.
|
String |
source()
Returns the full Google Cloud Storage URL where the disk image is stored (e.g.
|
StorageImageConfiguration.Builder |
toBuilder()
Returns a builder for the object.
|
archiveSizeBytes, sourceType, toString, typepublic StorageImageConfiguration.ContainerType containerType()
public String sha1()
public String source()
gs://bucket/file).public StorageImageConfiguration.Builder toBuilder()
ImageConfigurationtoBuilder in class ImageConfigurationpublic static StorageImageConfiguration.Builder builder(String source)
StorageImageConfiguration builder given the full Google Cloud Storage URL
where the disk image is stored.public static StorageImageConfiguration of(String source)
StorageImageConfiguration object given the full Google Cloud Storage URL
where the disk image is stored.Copyright © 2016 Google. All rights reserved.