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