public final class GalleryImageVersionStorageProfile extends Object
Constructor and Description |
---|
GalleryImageVersionStorageProfile() |
Modifier and Type | Method and Description |
---|---|
List<GalleryDataDiskImage> |
dataDiskImages()
Get the dataDiskImages property: A list of data disk images.
|
GalleryDiskImage |
osDiskImage()
Get the osDiskImage property: This is the disk image base class.
|
GalleryArtifactVersionSource |
source()
Get the source property: The gallery artifact version source.
|
void |
validate()
Validates the instance.
|
GalleryImageVersionStorageProfile |
withDataDiskImages(List<GalleryDataDiskImage> dataDiskImages)
Set the dataDiskImages property: A list of data disk images.
|
GalleryImageVersionStorageProfile |
withOsDiskImage(GalleryDiskImage osDiskImage)
Set the osDiskImage property: This is the disk image base class.
|
GalleryImageVersionStorageProfile |
withSource(GalleryArtifactVersionSource source)
Set the source property: The gallery artifact version source.
|
public GalleryArtifactVersionSource source()
public GalleryImageVersionStorageProfile withSource(GalleryArtifactVersionSource source)
source
- the source value to set.public GalleryDiskImage osDiskImage()
public GalleryImageVersionStorageProfile withOsDiskImage(GalleryDiskImage osDiskImage)
osDiskImage
- the osDiskImage value to set.public List<GalleryDataDiskImage> dataDiskImages()
public GalleryImageVersionStorageProfile withDataDiskImages(List<GalleryDataDiskImage> dataDiskImages)
dataDiskImages
- the dataDiskImages value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.