public class HostSnmpDestination extends DynamicData
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
community |
protected String |
hostName |
protected int |
port |
| Constructor and Description |
|---|
HostSnmpDestination() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommunity()
Gets the value of the community property.
|
String |
getHostName()
Gets the value of the hostName property.
|
int |
getPort()
Gets the value of the port property.
|
void |
setCommunity(String value)
Sets the value of the community property.
|
void |
setHostName(String value)
Sets the value of the hostName property.
|
void |
setPort(int value)
Sets the value of the port property.
|
protected String hostName
protected int port
protected String community
public String getHostName()
Stringpublic void setHostName(String value)
value - allowed object is
Stringpublic int getPort()
public void setPort(int value)
public String getCommunity()
StringCopyright © 2018. All rights reserved.