public class DataDisk extends Object
| Constructor and Description |
|---|
DataDisk() |
| Modifier and Type | Method and Description |
|---|---|
CachingType |
caching()
Get the caching value.
|
int |
diskSizeGB()
Get the diskSizeGB value.
|
int |
lun()
Get the lun value.
|
StorageAccountType |
storageAccountType()
Get the storageAccountType value.
|
DataDisk |
withCaching(CachingType caching)
Set the caching value.
|
DataDisk |
withDiskSizeGB(int diskSizeGB)
Set the diskSizeGB value.
|
DataDisk |
withLun(int lun)
Set the lun value.
|
DataDisk |
withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType value.
|
public int lun()
public DataDisk withLun(int lun)
lun - the lun value to setpublic CachingType caching()
public DataDisk withCaching(CachingType caching)
caching - the caching value to setpublic int diskSizeGB()
public DataDisk withDiskSizeGB(int diskSizeGB)
diskSizeGB - the diskSizeGB value to setpublic StorageAccountType storageAccountType()
public DataDisk withStorageAccountType(StorageAccountType storageAccountType)
storageAccountType - the storageAccountType value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/