All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.FtIssuesOnHost Maven / Gradle / Ivy

The newest version!

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 FtIssuesOnHost complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="FtIssuesOnHost">
 *   <complexContent>
 *     <extension base="{urn:vim25}VmFaultToleranceIssue">
 *       <sequence>
 *         <element name="host" type="{urn:vim25}ManagedObjectReference"/>
 *         <element name="hostName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="errors" type="{urn:vim25}LocalizedMethodFault" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FtIssuesOnHost", propOrder = { "host", "hostName", "errors" }) public class FtIssuesOnHost extends VmFaultToleranceIssue { @XmlElement(required = true) protected ManagedObjectReference host; @XmlElement(required = true) protected String hostName; protected List errors; /** * Gets the value of the host property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getHost() { return host; } /** * Sets the value of the host property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setHost(ManagedObjectReference value) { this.host = value; } /** * 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 errors 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 errors property. * *

* For example, to add a new item, do as follows: *

     *    getErrors().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LocalizedMethodFault } * * */ public List getErrors() { if (errors == null) { errors = new ArrayList(); } return this.errors; } /** * Sets the value of the errors property. * * @param errors * allowed object is * {@link LocalizedMethodFault } * */ public void setErrors(List errors) { this.errors = errors; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy