public class HostNasVolumeSpec extends DynamicData
Java class for HostNasVolumeSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostNasVolumeSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="remoteHost" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="remotePath" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="localPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="accessMode" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="userName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="remoteHostNames" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="securityType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
accessMode |
protected String |
localPath |
protected String |
password |
protected String |
remoteHost |
protected List<String> |
remoteHostNames |
protected String |
remotePath |
protected String |
securityType |
protected String |
type |
protected String |
userName |
| Constructor and Description |
|---|
HostNasVolumeSpec() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessMode()
Gets the value of the accessMode property.
|
String |
getLocalPath()
Gets the value of the localPath property.
|
String |
getPassword()
Gets the value of the password property.
|
String |
getRemoteHost()
Gets the value of the remoteHost property.
|
List<String> |
getRemoteHostNames()
Gets the value of the remoteHostNames property.
|
String |
getRemotePath()
Gets the value of the remotePath property.
|
String |
getSecurityType()
Gets the value of the securityType property.
|
String |
getType()
Gets the value of the type property.
|
String |
getUserName()
Gets the value of the userName property.
|
void |
setAccessMode(String value)
Sets the value of the accessMode property.
|
void |
setLocalPath(String value)
Sets the value of the localPath property.
|
void |
setPassword(String value)
Sets the value of the password property.
|
void |
setRemoteHost(String value)
Sets the value of the remoteHost property.
|
void |
setRemotePath(String value)
Sets the value of the remotePath property.
|
void |
setSecurityType(String value)
Sets the value of the securityType property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setUserName(String value)
Sets the value of the userName property.
|
protected String remoteHost
protected String remotePath
protected String localPath
protected String accessMode
protected String type
protected String userName
protected String password
protected String securityType
public String getRemoteHost()
Stringpublic void setRemoteHost(String value)
value - allowed object is
Stringpublic String getRemotePath()
Stringpublic void setRemotePath(String value)
value - allowed object is
Stringpublic String getLocalPath()
Stringpublic void setLocalPath(String value)
value - allowed object is
Stringpublic String getAccessMode()
Stringpublic void setAccessMode(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getUserName()
Stringpublic void setUserName(String value)
value - allowed object is
Stringpublic String getPassword()
Stringpublic void setPassword(String value)
value - allowed object is
Stringpublic List<String> getRemoteHostNames()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the remoteHostNames property.
For example, to add a new item, do as follows:
getRemoteHostNames().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getSecurityType()
StringCopyright © 2018. All rights reserved.