![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostSnmpDestination Maven / Gradle / Ivy
package com.vmware.vim25;
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 HostSnmpDestination complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostSnmpDestination">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="hostName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="port" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="community" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostSnmpDestination", propOrder = {
"hostName",
"port",
"community"
})
public class HostSnmpDestination
extends DynamicData
{
@XmlElement(required = true)
protected String hostName;
protected int port;
@XmlElement(required = true)
protected String community;
/**
* Gets the value of the hostName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHostName() {
return hostName;
}
/**
* Sets the value of the hostName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHostName(String value) {
this.hostName = value;
}
/**
* Gets the value of the port property.
*
*/
public int getPort() {
return port;
}
/**
* Sets the value of the port property.
*
*/
public void setPort(int value) {
this.port = value;
}
/**
* Gets the value of the community property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCommunity() {
return community;
}
/**
* Sets the value of the community property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCommunity(String value) {
this.community = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy