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

com.vmware.vim25.ApplyProfile 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for ApplyProfile complex type. * *

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

 * <complexType name="ApplyProfile">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="policy" type="{urn:vim25}ProfilePolicy" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ApplyProfile", propOrder = { "enabled", "policy" }) @XmlSeeAlso({ DvsProfile.class, FirewallProfile.class, NasStorageProfile.class, StaticRouteProfile.class, HostMemoryProfile.class, NetworkProfile.class, ServiceProfile.class, VirtualSwitchSelectionProfile.class, UserProfile.class, StorageProfile.class, VlanProfile.class, PnicUplinkProfile.class, DateTimeProfile.class, IpAddressProfile.class, PhysicalNicProfile.class, FirewallProfileRulesetProfile.class, NumPortsProfile.class, LinkProfile.class, SecurityProfile.class, NetworkPolicyProfile.class, UserGroupProfile.class, VirtualSwitchProfile.class, HostApplyProfile.class, DvsVNicProfile.class, OptionProfile.class, PortGroupProfile.class, IpRouteProfile.class, NetworkProfileDnsConfigProfile.class }) public class ApplyProfile extends DynamicData { protected boolean enabled; protected List policy; /** * Gets the value of the enabled property. * */ public boolean isEnabled() { return enabled; } /** * Sets the value of the enabled property. * */ public void setEnabled(boolean value) { this.enabled = value; } /** * Gets the value of the policy 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 policy property. * *

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

     *    getPolicy().add(newItem);
     * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy