Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
Modifier and Type | Class and Description |
---|---|
static class |
Snapshot.Builder
A builder for
Snapshot objects. |
Modifier and Type | Method and Description |
---|---|
static SnapshotInfo.Builder |
SnapshotInfo.newBuilder(SnapshotId snapshotId,
DiskId source)
Returns a builder for a
SnapshotInfo object given the snapshot identity and a source
disk identity. |
abstract SnapshotInfo.Builder |
SnapshotInfo.Builder.setDescription(String description)
Sets an optional textual description of the snapshot.
|
abstract SnapshotInfo.Builder |
SnapshotInfo.Builder.setSnapshotId(SnapshotId snapshotId)
Sets the snapshot identity.
|
abstract SnapshotInfo.Builder |
SnapshotInfo.Builder.setSourceDisk(DiskId sourceDisk)
Sets the identity of the source disk used to create the snapshot.
|
SnapshotInfo.Builder |
SnapshotInfo.toBuilder()
Returns a builder for the current snapshot.
|
Copyright © 2019 Google LLC. All rights reserved.