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

com.vmware.pbm.PbmDataServiceToPoliciesMap Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

package com.vmware.pbm;

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;
import com.vmware.vim25.DynamicData;
import com.vmware.vim25.LocalizedMethodFault;


/**
 * 

Java class for PbmDataServiceToPoliciesMap complex type. * *

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

 * <complexType name="PbmDataServiceToPoliciesMap">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="dataServicePolicy" type="{urn:pbm}PbmProfileId"/>
 *         <element name="parentStoragePolicies" type="{urn:pbm}PbmProfileId" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="fault" type="{urn:vim25}LocalizedMethodFault" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PbmDataServiceToPoliciesMap", propOrder = { "dataServicePolicy", "parentStoragePolicies", "fault" }) public class PbmDataServiceToPoliciesMap extends DynamicData { @XmlElement(required = true) protected PbmProfileId dataServicePolicy; protected List parentStoragePolicies; protected LocalizedMethodFault fault; /** * Gets the value of the dataServicePolicy property. * * @return * possible object is * {@link PbmProfileId } * */ public PbmProfileId getDataServicePolicy() { return dataServicePolicy; } /** * Sets the value of the dataServicePolicy property. * * @param value * allowed object is * {@link PbmProfileId } * */ public void setDataServicePolicy(PbmProfileId value) { this.dataServicePolicy = value; } /** * Gets the value of the parentStoragePolicies 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 parentStoragePolicies property. * *

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

     *    getParentStoragePolicies().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PbmProfileId } * * */ public List getParentStoragePolicies() { if (parentStoragePolicies == null) { parentStoragePolicies = new ArrayList(); } return this.parentStoragePolicies; } /** * Gets the value of the fault property. * * @return * possible object is * {@link LocalizedMethodFault } * */ public LocalizedMethodFault getFault() { return fault; } /** * Sets the value of the fault property. * * @param value * allowed object is * {@link LocalizedMethodFault } * */ public void setFault(LocalizedMethodFault value) { this.fault = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy