public abstract static class SnapshotInfo.Builder extends Object
SnapshotInfo
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract SnapshotInfo |
build()
Creates a
SnapshotInfo object. |
abstract SnapshotInfo.Builder |
setDescription(String description)
Sets an optional textual description of the snapshot.
|
abstract SnapshotInfo.Builder |
setSnapshotId(SnapshotId snapshotId)
Sets the snapshot identity.
|
abstract SnapshotInfo.Builder |
setSourceDisk(DiskId sourceDisk)
Sets the identity of the source disk used to create the snapshot.
|
public abstract SnapshotInfo.Builder setSnapshotId(SnapshotId snapshotId)
public abstract SnapshotInfo.Builder setDescription(String description)
public abstract SnapshotInfo.Builder setSourceDisk(DiskId sourceDisk)
public abstract SnapshotInfo build()
SnapshotInfo
object.Copyright © 2019 Google LLC. All rights reserved.