public class ImageDiskReference extends Object
Constructor and Description |
---|
ImageDiskReference() |
Modifier and Type | Method and Description |
---|---|
String |
id()
Get a relative uri containing either a Platform Image Repository or user image reference.
|
Integer |
lun()
Get if the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use.
|
ImageDiskReference |
withId(String id)
Set a relative uri containing either a Platform Image Repository or user image reference.
|
ImageDiskReference |
withLun(Integer lun)
Set if the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use.
|
public String id()
public ImageDiskReference withId(String id)
id
- the id value to setpublic Integer lun()
public ImageDiskReference withLun(Integer lun)
lun
- the lun value to setCopyright © 2019. All rights reserved.