public final class IscsiTargetCreateProperties extends Object
Constructor and Description |
---|
IscsiTargetCreateProperties() |
Modifier and Type | Method and Description |
---|---|
IscsiTargetAclMode |
aclMode()
Get the aclMode property: Mode for Target connectivity.
|
List<IscsiLun> |
luns()
Get the luns property: List of LUNs to be exposed through iSCSI Target.
|
List<Acl> |
staticAcls()
Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
|
String |
targetIqn()
Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
|
void |
validate()
Validates the instance.
|
IscsiTargetCreateProperties |
withAclMode(IscsiTargetAclMode aclMode)
Set the aclMode property: Mode for Target connectivity.
|
IscsiTargetCreateProperties |
withLuns(List<IscsiLun> luns)
Set the luns property: List of LUNs to be exposed through iSCSI Target.
|
IscsiTargetCreateProperties |
withStaticAcls(List<Acl> staticAcls)
Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
|
IscsiTargetCreateProperties |
withTargetIqn(String targetIqn)
Set the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
|
public IscsiTargetAclMode aclMode()
public IscsiTargetCreateProperties withAclMode(IscsiTargetAclMode aclMode)
aclMode
- the aclMode value to set.public String targetIqn()
public IscsiTargetCreateProperties withTargetIqn(String targetIqn)
targetIqn
- the targetIqn value to set.public List<Acl> staticAcls()
public IscsiTargetCreateProperties withStaticAcls(List<Acl> staticAcls)
staticAcls
- the staticAcls value to set.public List<IscsiLun> luns()
public IscsiTargetCreateProperties withLuns(List<IscsiLun> luns)
luns
- the luns value to set.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.