public class DiskImageConfiguration extends ImageConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
DiskImageConfiguration.Builder
A builder for
DiskImageConfiguration objects. |
ImageConfiguration.SourceType, ImageConfiguration.Type
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DiskId |
getSourceDisk()
Returns the identity of the source disk used to create this image.
|
String |
getSourceDiskId()
Returns the service-generated unique id of the disk used to create this image.
|
int |
hashCode() |
static DiskImageConfiguration.Builder |
newBuilder(DiskId sourceDisk)
Creates a builder for a
DiskImageConfiguration given the source disk identity. |
static DiskImageConfiguration |
of(DiskId sourceId)
Creates a
DiskImageConfiguration object given the source disk identity. |
DiskImageConfiguration.Builder |
toBuilder()
Returns a builder for the object.
|
getArchiveSizeBytes, getSourceType, getType, toString
public DiskId getSourceDisk()
public String getSourceDiskId()
public DiskImageConfiguration.Builder toBuilder()
ImageConfiguration
toBuilder
in class ImageConfiguration
public static DiskImageConfiguration.Builder newBuilder(DiskId sourceDisk)
DiskImageConfiguration
given the source disk identity.public static DiskImageConfiguration of(DiskId sourceId)
DiskImageConfiguration
object given the source disk identity.Copyright © 2019 Google LLC. All rights reserved.