| Package | Description |
|---|---|
| com.google.cloud.compute |
A client to Google Cloud Compute.
|
| 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.builder(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.description(String description)
Sets an optional textual description of the snapshot.
|
abstract SnapshotInfo.Builder |
SnapshotInfo.Builder.snapshotId(SnapshotId snapshotId)
Sets the snapshot identity.
|
abstract SnapshotInfo.Builder |
SnapshotInfo.Builder.sourceDisk(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 © 2016 Google. All rights reserved.