![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostNasVolumeSpec Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostNasVolumeSpec", propOrder = {
"remoteHost",
"remotePath",
"localPath",
"accessMode",
"type",
"userName",
"password",
"remoteHostNames",
"securityType"
})
public class HostNasVolumeSpec
extends DynamicData
{
@XmlElement(required = true)
protected String remoteHost;
@XmlElement(required = true)
protected String remotePath;
@XmlElement(required = true)
protected String localPath;
@XmlElement(required = true)
protected String accessMode;
protected String type;
protected String userName;
protected String password;
protected List remoteHostNames;
protected String securityType;
/**
* Gets the value of the remoteHost property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemoteHost() {
return remoteHost;
}
/**
* Sets the value of the remoteHost property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemoteHost(String value) {
this.remoteHost = value;
}
/**
* Gets the value of the remotePath property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemotePath() {
return remotePath;
}
/**
* Sets the value of the remotePath property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemotePath(String value) {
this.remotePath = value;
}
/**
* Gets the value of the localPath property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocalPath() {
return localPath;
}
/**
* Sets the value of the localPath property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocalPath(String value) {
this.localPath = value;
}
/**
* Gets the value of the accessMode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccessMode() {
return accessMode;
}
/**
* Sets the value of the accessMode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccessMode(String value) {
this.accessMode = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the userName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUserName() {
return userName;
}
/**
* Sets the value of the userName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUserName(String value) {
this.userName = value;
}
/**
* Gets the value of the password property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPassword() {
return password;
}
/**
* Sets the value of the password property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPassword(String value) {
this.password = value;
}
/**
* Gets the value of the remoteHostNames property.
*
*
* 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
* {@link String }
*
*
*/
public List getRemoteHostNames() {
if (remoteHostNames == null) {
remoteHostNames = new ArrayList();
}
return this.remoteHostNames;
}
/**
* Gets the value of the securityType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSecurityType() {
return securityType;
}
/**
* Sets the value of the securityType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSecurityType(String value) {
this.securityType = value;
}
}