com.vmware.vim25.GatewayToHostConnectFault 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for GatewayToHostConnectFault complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GatewayToHostConnectFault">
* <complexContent>
* <extension base="{urn:vim25}GatewayConnectFault">
* <sequence>
* <element name="hostname" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="port" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GatewayToHostConnectFault", propOrder = {
"hostname",
"port"
})
@XmlSeeAlso({
GatewayHostNotReachable.class,
GatewayToHostAuthFault.class,
GatewayToHostTrustVerifyFault.class
})
public class GatewayToHostConnectFault
extends GatewayConnectFault
{
@XmlElement(required = true)
protected String hostname;
protected Integer port;
/**
* 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.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPort() {
return port;
}
/**
* Sets the value of the port property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPort(Integer value) {
this.port = value;
}
}