public static class Disk.Builder extends DiskInfo.Builder
Disk
objects.Modifier and Type | Method and Description |
---|---|
Disk |
build()
Creates a
DiskInfo object. |
Disk.Builder |
setConfiguration(DiskConfiguration configuration)
Sets the disk configuration.
|
Disk.Builder |
setDescription(String description)
Sets an optional textual description of the resource.
|
Disk.Builder |
setDiskId(DiskId diskId)
Sets the disk identity.
|
public Disk.Builder setConfiguration(DiskConfiguration configuration)
DiskInfo.Builder
setConfiguration
in class DiskInfo.Builder
public Disk.Builder setDiskId(DiskId diskId)
DiskInfo.Builder
setDiskId
in class DiskInfo.Builder
public Disk.Builder setDescription(String description)
DiskInfo.Builder
setDescription
in class DiskInfo.Builder
public Disk build()
DiskInfo.Builder
DiskInfo
object.build
in class DiskInfo.Builder
Copyright © 2019 Google LLC. All rights reserved.