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 |
---|---|
boolean |
equals(Object obj) |
StorageImageConfiguration.ContainerType |
getContainerType()
Returns the format used to encode and transmit the block device.
|
String |
getSha1()
Returns the SHA1 checksum of the disk image before unpackaging.
|
String |
getSource()
Returns the full Google Cloud Storage URL where the disk image is stored (e.g.
|
int |
hashCode() |
static StorageImageConfiguration.Builder |
newBuilder(String source)
Creates a
StorageImageConfiguration builder given the full Google Cloud Storage URL
where the disk image is stored. |
static StorageImageConfiguration |
of(String source)
Creates a
StorageImageConfiguration object given the full Google Cloud Storage URL
where the disk image is stored. |
StorageImageConfiguration.Builder |
toBuilder()
Returns a builder for the object.
|
getArchiveSizeBytes, getSourceType, getType, toString
public StorageImageConfiguration.ContainerType getContainerType()
public String getSha1()
public String getSource()
gs://bucket/file
).public StorageImageConfiguration.Builder toBuilder()
ImageConfiguration
toBuilder
in class ImageConfiguration
public static StorageImageConfiguration.Builder newBuilder(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 © 2019 Google LLC. All rights reserved.