public final class IscsiLun extends Object
Constructor and Description |
---|
IscsiLun() |
Modifier and Type | Method and Description |
---|---|
Integer |
lun()
Get the lun property: Specifies the Logical Unit Number of the iSCSI LUN.
|
String |
managedDiskAzureResourceId()
Get the managedDiskAzureResourceId property: Azure Resource ID of the Managed Disk.
|
String |
name()
Get the name property: User defined name for iSCSI LUN; example: "lun0".
|
void |
validate()
Validates the instance.
|
IscsiLun |
withManagedDiskAzureResourceId(String managedDiskAzureResourceId)
Set the managedDiskAzureResourceId property: Azure Resource ID of the Managed Disk.
|
IscsiLun |
withName(String name)
Set the name property: User defined name for iSCSI LUN; example: "lun0".
|
public String name()
public IscsiLun withName(String name)
name
- the name value to set.public String managedDiskAzureResourceId()
public IscsiLun withManagedDiskAzureResourceId(String managedDiskAzureResourceId)
managedDiskAzureResourceId
- the managedDiskAzureResourceId value to set.public Integer lun()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.