Class DataDisk
- java.lang.Object
-
- com.microsoft.azure.management.batch.DataDisk
-
public class DataDisk extends Object
Data Disk settings which will be used by the data disks associated to Compute Nodes in the pool.
-
-
Constructor Summary
Constructors Constructor Description DataDisk()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachingTypecaching()Get the caching value.intdiskSizeGB()Get the diskSizeGB value.intlun()Get the lun value.StorageAccountTypestorageAccountType()Get the storageAccountType value.DataDiskwithCaching(CachingType caching)Set the caching value.DataDiskwithDiskSizeGB(int diskSizeGB)Set the diskSizeGB value.DataDiskwithLun(int lun)Set the lun value.DataDiskwithStorageAccountType(StorageAccountType storageAccountType)Set the storageAccountType value.
-
-
-
Method Detail
-
lun
public int lun()
Get the lun value.- Returns:
- the lun value
-
withLun
public DataDisk withLun(int lun)
Set the lun value.- Parameters:
lun- the lun value to set- Returns:
- the DataDisk object itself.
-
caching
public CachingType caching()
Get the caching value.- Returns:
- the caching value
-
withCaching
public DataDisk withCaching(CachingType caching)
Set the caching value.- Parameters:
caching- the caching value to set- Returns:
- the DataDisk object itself.
-
diskSizeGB
public int diskSizeGB()
Get the diskSizeGB value.- Returns:
- the diskSizeGB value
-
withDiskSizeGB
public DataDisk withDiskSizeGB(int diskSizeGB)
Set the diskSizeGB value.- Parameters:
diskSizeGB- the diskSizeGB value to set- Returns:
- the DataDisk object itself.
-
storageAccountType
public StorageAccountType storageAccountType()
Get the storageAccountType value.- Returns:
- the storageAccountType value
-
withStorageAccountType
public DataDisk withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType value.- Parameters:
storageAccountType- the storageAccountType value to set- Returns:
- the DataDisk object itself.
-
-