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

org.finra.herd.model.api.xml.EmrClusterDefinition Maven / Gradle / Ivy

Go to download

This project contains the model API classes. This contains the herd XSD and generates Java POJO's from them. These classes are used for incoming and outgoing calls into the system (e.g. via REST).

There is a newer version: 0.160.0
Show newest version

package org.finra.herd.model.api.xml;

import java.io.Serializable;
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.XmlElementWrapper;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.CopyStrategy2;
import org.jvnet.jaxb2_commons.lang.CopyTo2;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for emrClusterDefinition complex type. * *

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

 * <complexType name="emrClusterDefinition">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="sshKeyPairName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="subnetId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="logBucket" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="keepAlive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="visibleToAll" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="terminationProtection" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="encryptionEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="accountId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="serviceIamRole" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ec2NodeIamProfileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="amiVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="releaseLabel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="hadoopVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="hiveVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="pigVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="installOozie" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="customBootstrapActionMaster" type="{}scriptDefinitions" minOccurs="0"/>
 *         <element name="customBootstrapActionAll" type="{}scriptDefinitions" minOccurs="0"/>
 *         <element name="additionalInfo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="instanceDefinitions" type="{}instanceDefinitions" minOccurs="0"/>
 *         <element name="instanceFleets" type="{}emrClusterDefinitionInstanceFleets" minOccurs="0"/>
 *         <element name="nodeTags" type="{}nodeTags" minOccurs="0"/>
 *         <element name="supportedProduct" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="applications" type="{}emrClusterDefinitionApplications" minOccurs="0"/>
 *         <element name="configurations" type="{}emrClusterDefinitionConfigurations" minOccurs="0"/>
 *         <element name="daemonConfigurations" type="{}daemonConfigurations" minOccurs="0"/>
 *         <element name="hadoopConfigurations" type="{}hadoopConfigurations" minOccurs="0"/>
 *         <element name="hadoopJarSteps" type="{}hadoopJarSteps" minOccurs="0"/>
 *         <element name="additionalMasterSecurityGroups" type="{}additionalMasterSecurityGroups" minOccurs="0"/>
 *         <element name="additionalSlaveSecurityGroups" type="{}additionalSlaveSecurityGroups" minOccurs="0"/>
 *         <element name="securityConfiguration" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="masterSecurityGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="slaveSecurityGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="serviceAccessSecurityGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="scaleDownBehavior" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="kerberosAttributes" type="{}emrClusterDefinitionKerberosAttributes" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "emrClusterDefinition", propOrder = { }) @XmlRootElement(name = "emrClusterDefinition") public class EmrClusterDefinition implements Serializable, Cloneable, CopyTo2, Equals2, HashCode2, ToString2 { private final static long serialVersionUID = -1L; protected String sshKeyPairName; protected String subnetId; protected String logBucket; protected Boolean keepAlive; protected Boolean visibleToAll; protected Boolean terminationProtection; protected Boolean encryptionEnabled; protected String accountId; protected String serviceIamRole; protected String ec2NodeIamProfileName; protected String amiVersion; protected String releaseLabel; protected String hadoopVersion; protected String hiveVersion; protected String pigVersion; protected Boolean installOozie; @XmlElementWrapper @XmlElement(name = "scriptDefinition") protected List customBootstrapActionMaster; @XmlElementWrapper @XmlElement(name = "scriptDefinition") protected List customBootstrapActionAll; protected String additionalInfo; protected InstanceDefinitions instanceDefinitions; @XmlElementWrapper @XmlElement(name = "instanceFleet") protected List instanceFleets; @XmlElementWrapper @XmlElement(name = "nodeTag") protected List nodeTags; protected String supportedProduct; @XmlElementWrapper @XmlElement(name = "application") protected List applications; @XmlElementWrapper @XmlElement(name = "configuration") protected List configurations; @XmlElementWrapper @XmlElement(name = "daemonParam") protected List daemonConfigurations; @XmlElementWrapper @XmlElements({ @XmlElement(name = "configurationFiles", type = ConfigurationFiles.class), @XmlElement(name = "keyValuePairConfigurations", type = KeyValuePairConfigurations.class) }) protected List hadoopConfigurations; @XmlElementWrapper @XmlElement(name = "hadoopJarStep") protected List hadoopJarSteps; @XmlElementWrapper @XmlElement(name = "additionalMasterSecurityGroup") protected List additionalMasterSecurityGroups; @XmlElementWrapper @XmlElement(name = "additionalSlaveSecurityGroup") protected List additionalSlaveSecurityGroups; protected String securityConfiguration; protected String masterSecurityGroup; protected String slaveSecurityGroup; protected String serviceAccessSecurityGroup; protected String scaleDownBehavior; protected EmrClusterDefinitionKerberosAttributes kerberosAttributes; /** * Default no-arg constructor * */ public EmrClusterDefinition() { super(); } /** * Fully-initialising value constructor * */ public EmrClusterDefinition(final String sshKeyPairName, final String subnetId, final String logBucket, final Boolean keepAlive, final Boolean visibleToAll, final Boolean terminationProtection, final Boolean encryptionEnabled, final String accountId, final String serviceIamRole, final String ec2NodeIamProfileName, final String amiVersion, final String releaseLabel, final String hadoopVersion, final String hiveVersion, final String pigVersion, final Boolean installOozie, final List customBootstrapActionMaster, final List customBootstrapActionAll, final String additionalInfo, final InstanceDefinitions instanceDefinitions, final List instanceFleets, final List nodeTags, final String supportedProduct, final List applications, final List configurations, final List daemonConfigurations, final List hadoopConfigurations, final List hadoopJarSteps, final List additionalMasterSecurityGroups, final List additionalSlaveSecurityGroups, final String securityConfiguration, final String masterSecurityGroup, final String slaveSecurityGroup, final String serviceAccessSecurityGroup, final String scaleDownBehavior, final EmrClusterDefinitionKerberosAttributes kerberosAttributes) { this.sshKeyPairName = sshKeyPairName; this.subnetId = subnetId; this.logBucket = logBucket; this.keepAlive = keepAlive; this.visibleToAll = visibleToAll; this.terminationProtection = terminationProtection; this.encryptionEnabled = encryptionEnabled; this.accountId = accountId; this.serviceIamRole = serviceIamRole; this.ec2NodeIamProfileName = ec2NodeIamProfileName; this.amiVersion = amiVersion; this.releaseLabel = releaseLabel; this.hadoopVersion = hadoopVersion; this.hiveVersion = hiveVersion; this.pigVersion = pigVersion; this.installOozie = installOozie; this.customBootstrapActionMaster = customBootstrapActionMaster; this.customBootstrapActionAll = customBootstrapActionAll; this.additionalInfo = additionalInfo; this.instanceDefinitions = instanceDefinitions; this.instanceFleets = instanceFleets; this.nodeTags = nodeTags; this.supportedProduct = supportedProduct; this.applications = applications; this.configurations = configurations; this.daemonConfigurations = daemonConfigurations; this.hadoopConfigurations = hadoopConfigurations; this.hadoopJarSteps = hadoopJarSteps; this.additionalMasterSecurityGroups = additionalMasterSecurityGroups; this.additionalSlaveSecurityGroups = additionalSlaveSecurityGroups; this.securityConfiguration = securityConfiguration; this.masterSecurityGroup = masterSecurityGroup; this.slaveSecurityGroup = slaveSecurityGroup; this.serviceAccessSecurityGroup = serviceAccessSecurityGroup; this.scaleDownBehavior = scaleDownBehavior; this.kerberosAttributes = kerberosAttributes; } /** * Gets the value of the sshKeyPairName property. * * @return * possible object is * {@link String } * */ public String getSshKeyPairName() { return sshKeyPairName; } /** * Sets the value of the sshKeyPairName property. * * @param value * allowed object is * {@link String } * */ public void setSshKeyPairName(String value) { this.sshKeyPairName = value; } /** * Gets the value of the subnetId property. * * @return * possible object is * {@link String } * */ public String getSubnetId() { return subnetId; } /** * Sets the value of the subnetId property. * * @param value * allowed object is * {@link String } * */ public void setSubnetId(String value) { this.subnetId = value; } /** * Gets the value of the logBucket property. * * @return * possible object is * {@link String } * */ public String getLogBucket() { return logBucket; } /** * Sets the value of the logBucket property. * * @param value * allowed object is * {@link String } * */ public void setLogBucket(String value) { this.logBucket = value; } /** * Gets the value of the keepAlive property. * * @return * possible object is * {@link Boolean } * */ public Boolean isKeepAlive() { return keepAlive; } /** * Sets the value of the keepAlive property. * * @param value * allowed object is * {@link Boolean } * */ public void setKeepAlive(Boolean value) { this.keepAlive = value; } /** * Gets the value of the visibleToAll property. * * @return * possible object is * {@link Boolean } * */ public Boolean isVisibleToAll() { return visibleToAll; } /** * Sets the value of the visibleToAll property. * * @param value * allowed object is * {@link Boolean } * */ public void setVisibleToAll(Boolean value) { this.visibleToAll = value; } /** * Gets the value of the terminationProtection property. * * @return * possible object is * {@link Boolean } * */ public Boolean isTerminationProtection() { return terminationProtection; } /** * Sets the value of the terminationProtection property. * * @param value * allowed object is * {@link Boolean } * */ public void setTerminationProtection(Boolean value) { this.terminationProtection = value; } /** * Gets the value of the encryptionEnabled property. * * @return * possible object is * {@link Boolean } * */ public Boolean isEncryptionEnabled() { return encryptionEnabled; } /** * Sets the value of the encryptionEnabled property. * * @param value * allowed object is * {@link Boolean } * */ public void setEncryptionEnabled(Boolean value) { this.encryptionEnabled = value; } /** * Gets the value of the accountId property. * * @return * possible object is * {@link String } * */ public String getAccountId() { return accountId; } /** * Sets the value of the accountId property. * * @param value * allowed object is * {@link String } * */ public void setAccountId(String value) { this.accountId = value; } /** * Gets the value of the serviceIamRole property. * * @return * possible object is * {@link String } * */ public String getServiceIamRole() { return serviceIamRole; } /** * Sets the value of the serviceIamRole property. * * @param value * allowed object is * {@link String } * */ public void setServiceIamRole(String value) { this.serviceIamRole = value; } /** * Gets the value of the ec2NodeIamProfileName property. * * @return * possible object is * {@link String } * */ public String getEc2NodeIamProfileName() { return ec2NodeIamProfileName; } /** * Sets the value of the ec2NodeIamProfileName property. * * @param value * allowed object is * {@link String } * */ public void setEc2NodeIamProfileName(String value) { this.ec2NodeIamProfileName = value; } /** * Gets the value of the amiVersion property. * * @return * possible object is * {@link String } * */ public String getAmiVersion() { return amiVersion; } /** * Sets the value of the amiVersion property. * * @param value * allowed object is * {@link String } * */ public void setAmiVersion(String value) { this.amiVersion = value; } /** * Gets the value of the releaseLabel property. * * @return * possible object is * {@link String } * */ public String getReleaseLabel() { return releaseLabel; } /** * Sets the value of the releaseLabel property. * * @param value * allowed object is * {@link String } * */ public void setReleaseLabel(String value) { this.releaseLabel = value; } /** * Gets the value of the hadoopVersion property. * * @return * possible object is * {@link String } * */ public String getHadoopVersion() { return hadoopVersion; } /** * Sets the value of the hadoopVersion property. * * @param value * allowed object is * {@link String } * */ public void setHadoopVersion(String value) { this.hadoopVersion = value; } /** * Gets the value of the hiveVersion property. * * @return * possible object is * {@link String } * */ public String getHiveVersion() { return hiveVersion; } /** * Sets the value of the hiveVersion property. * * @param value * allowed object is * {@link String } * */ public void setHiveVersion(String value) { this.hiveVersion = value; } /** * Gets the value of the pigVersion property. * * @return * possible object is * {@link String } * */ public String getPigVersion() { return pigVersion; } /** * Sets the value of the pigVersion property. * * @param value * allowed object is * {@link String } * */ public void setPigVersion(String value) { this.pigVersion = value; } /** * Gets the value of the installOozie property. * * @return * possible object is * {@link Boolean } * */ public Boolean isInstallOozie() { return installOozie; } /** * Sets the value of the installOozie property. * * @param value * allowed object is * {@link Boolean } * */ public void setInstallOozie(Boolean value) { this.installOozie = value; } /** * Gets the value of the additionalInfo property. * * @return * possible object is * {@link String } * */ public String getAdditionalInfo() { return additionalInfo; } /** * Sets the value of the additionalInfo property. * * @param value * allowed object is * {@link String } * */ public void setAdditionalInfo(String value) { this.additionalInfo = value; } /** * Gets the value of the instanceDefinitions property. * * @return * possible object is * {@link InstanceDefinitions } * */ public InstanceDefinitions getInstanceDefinitions() { return instanceDefinitions; } /** * Sets the value of the instanceDefinitions property. * * @param value * allowed object is * {@link InstanceDefinitions } * */ public void setInstanceDefinitions(InstanceDefinitions value) { this.instanceDefinitions = value; } /** * Gets the value of the supportedProduct property. * * @return * possible object is * {@link String } * */ public String getSupportedProduct() { return supportedProduct; } /** * Sets the value of the supportedProduct property. * * @param value * allowed object is * {@link String } * */ public void setSupportedProduct(String value) { this.supportedProduct = value; } /** * Gets the value of the securityConfiguration property. * * @return * possible object is * {@link String } * */ public String getSecurityConfiguration() { return securityConfiguration; } /** * Sets the value of the securityConfiguration property. * * @param value * allowed object is * {@link String } * */ public void setSecurityConfiguration(String value) { this.securityConfiguration = value; } /** * Gets the value of the masterSecurityGroup property. * * @return * possible object is * {@link String } * */ public String getMasterSecurityGroup() { return masterSecurityGroup; } /** * Sets the value of the masterSecurityGroup property. * * @param value * allowed object is * {@link String } * */ public void setMasterSecurityGroup(String value) { this.masterSecurityGroup = value; } /** * Gets the value of the slaveSecurityGroup property. * * @return * possible object is * {@link String } * */ public String getSlaveSecurityGroup() { return slaveSecurityGroup; } /** * Sets the value of the slaveSecurityGroup property. * * @param value * allowed object is * {@link String } * */ public void setSlaveSecurityGroup(String value) { this.slaveSecurityGroup = value; } /** * Gets the value of the serviceAccessSecurityGroup property. * * @return * possible object is * {@link String } * */ public String getServiceAccessSecurityGroup() { return serviceAccessSecurityGroup; } /** * Sets the value of the serviceAccessSecurityGroup property. * * @param value * allowed object is * {@link String } * */ public void setServiceAccessSecurityGroup(String value) { this.serviceAccessSecurityGroup = value; } /** * Gets the value of the scaleDownBehavior property. * * @return * possible object is * {@link String } * */ public String getScaleDownBehavior() { return scaleDownBehavior; } /** * Sets the value of the scaleDownBehavior property. * * @param value * allowed object is * {@link String } * */ public void setScaleDownBehavior(String value) { this.scaleDownBehavior = value; } /** * Gets the value of the kerberosAttributes property. * * @return * possible object is * {@link EmrClusterDefinitionKerberosAttributes } * */ public EmrClusterDefinitionKerberosAttributes getKerberosAttributes() { return kerberosAttributes; } /** * Sets the value of the kerberosAttributes property. * * @param value * allowed object is * {@link EmrClusterDefinitionKerberosAttributes } * */ public void setKerberosAttributes(EmrClusterDefinitionKerberosAttributes value) { this.kerberosAttributes = value; } public List getCustomBootstrapActionMaster() { return customBootstrapActionMaster; } public void setCustomBootstrapActionMaster(List customBootstrapActionMaster) { this.customBootstrapActionMaster = customBootstrapActionMaster; } public List getCustomBootstrapActionAll() { return customBootstrapActionAll; } public void setCustomBootstrapActionAll(List customBootstrapActionAll) { this.customBootstrapActionAll = customBootstrapActionAll; } public List getInstanceFleets() { return instanceFleets; } public void setInstanceFleets(List instanceFleets) { this.instanceFleets = instanceFleets; } public List getNodeTags() { return nodeTags; } public void setNodeTags(List nodeTags) { this.nodeTags = nodeTags; } public List getApplications() { return applications; } public void setApplications(List applications) { this.applications = applications; } public List getConfigurations() { return configurations; } public void setConfigurations(List configurations) { this.configurations = configurations; } public List getDaemonConfigurations() { return daemonConfigurations; } public void setDaemonConfigurations(List daemonConfigurations) { this.daemonConfigurations = daemonConfigurations; } public List getHadoopConfigurations() { return hadoopConfigurations; } public void setHadoopConfigurations(List hadoopConfigurations) { this.hadoopConfigurations = hadoopConfigurations; } public List getHadoopJarSteps() { return hadoopJarSteps; } public void setHadoopJarSteps(List hadoopJarSteps) { this.hadoopJarSteps = hadoopJarSteps; } public List getAdditionalMasterSecurityGroups() { return additionalMasterSecurityGroups; } public void setAdditionalMasterSecurityGroups(List additionalMasterSecurityGroups) { this.additionalMasterSecurityGroups = additionalMasterSecurityGroups; } public List getAdditionalSlaveSecurityGroups() { return additionalSlaveSecurityGroups; } public void setAdditionalSlaveSecurityGroups(List additionalSlaveSecurityGroups) { this.additionalSlaveSecurityGroups = additionalSlaveSecurityGroups; } public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theSshKeyPairName; theSshKeyPairName = this.getSshKeyPairName(); strategy.appendField(locator, this, "sshKeyPairName", buffer, theSshKeyPairName, (this.sshKeyPairName!= null)); } { String theSubnetId; theSubnetId = this.getSubnetId(); strategy.appendField(locator, this, "subnetId", buffer, theSubnetId, (this.subnetId!= null)); } { String theLogBucket; theLogBucket = this.getLogBucket(); strategy.appendField(locator, this, "logBucket", buffer, theLogBucket, (this.logBucket!= null)); } { Boolean theKeepAlive; theKeepAlive = this.isKeepAlive(); strategy.appendField(locator, this, "keepAlive", buffer, theKeepAlive, (this.keepAlive!= null)); } { Boolean theVisibleToAll; theVisibleToAll = this.isVisibleToAll(); strategy.appendField(locator, this, "visibleToAll", buffer, theVisibleToAll, (this.visibleToAll!= null)); } { Boolean theTerminationProtection; theTerminationProtection = this.isTerminationProtection(); strategy.appendField(locator, this, "terminationProtection", buffer, theTerminationProtection, (this.terminationProtection!= null)); } { Boolean theEncryptionEnabled; theEncryptionEnabled = this.isEncryptionEnabled(); strategy.appendField(locator, this, "encryptionEnabled", buffer, theEncryptionEnabled, (this.encryptionEnabled!= null)); } { String theAccountId; theAccountId = this.getAccountId(); strategy.appendField(locator, this, "accountId", buffer, theAccountId, (this.accountId!= null)); } { String theServiceIamRole; theServiceIamRole = this.getServiceIamRole(); strategy.appendField(locator, this, "serviceIamRole", buffer, theServiceIamRole, (this.serviceIamRole!= null)); } { String theEc2NodeIamProfileName; theEc2NodeIamProfileName = this.getEc2NodeIamProfileName(); strategy.appendField(locator, this, "ec2NodeIamProfileName", buffer, theEc2NodeIamProfileName, (this.ec2NodeIamProfileName!= null)); } { String theAmiVersion; theAmiVersion = this.getAmiVersion(); strategy.appendField(locator, this, "amiVersion", buffer, theAmiVersion, (this.amiVersion!= null)); } { String theReleaseLabel; theReleaseLabel = this.getReleaseLabel(); strategy.appendField(locator, this, "releaseLabel", buffer, theReleaseLabel, (this.releaseLabel!= null)); } { String theHadoopVersion; theHadoopVersion = this.getHadoopVersion(); strategy.appendField(locator, this, "hadoopVersion", buffer, theHadoopVersion, (this.hadoopVersion!= null)); } { String theHiveVersion; theHiveVersion = this.getHiveVersion(); strategy.appendField(locator, this, "hiveVersion", buffer, theHiveVersion, (this.hiveVersion!= null)); } { String thePigVersion; thePigVersion = this.getPigVersion(); strategy.appendField(locator, this, "pigVersion", buffer, thePigVersion, (this.pigVersion!= null)); } { Boolean theInstallOozie; theInstallOozie = this.isInstallOozie(); strategy.appendField(locator, this, "installOozie", buffer, theInstallOozie, (this.installOozie!= null)); } { List theCustomBootstrapActionMaster; theCustomBootstrapActionMaster = ((this.customBootstrapActionMaster!= null)?this.getCustomBootstrapActionMaster():null); strategy.appendField(locator, this, "customBootstrapActionMaster", buffer, theCustomBootstrapActionMaster, (this.customBootstrapActionMaster!= null)); } { List theCustomBootstrapActionAll; theCustomBootstrapActionAll = ((this.customBootstrapActionAll!= null)?this.getCustomBootstrapActionAll():null); strategy.appendField(locator, this, "customBootstrapActionAll", buffer, theCustomBootstrapActionAll, (this.customBootstrapActionAll!= null)); } { String theAdditionalInfo; theAdditionalInfo = this.getAdditionalInfo(); strategy.appendField(locator, this, "additionalInfo", buffer, theAdditionalInfo, (this.additionalInfo!= null)); } { InstanceDefinitions theInstanceDefinitions; theInstanceDefinitions = this.getInstanceDefinitions(); strategy.appendField(locator, this, "instanceDefinitions", buffer, theInstanceDefinitions, (this.instanceDefinitions!= null)); } { List theInstanceFleets; theInstanceFleets = ((this.instanceFleets!= null)?this.getInstanceFleets():null); strategy.appendField(locator, this, "instanceFleets", buffer, theInstanceFleets, (this.instanceFleets!= null)); } { List theNodeTags; theNodeTags = ((this.nodeTags!= null)?this.getNodeTags():null); strategy.appendField(locator, this, "nodeTags", buffer, theNodeTags, (this.nodeTags!= null)); } { String theSupportedProduct; theSupportedProduct = this.getSupportedProduct(); strategy.appendField(locator, this, "supportedProduct", buffer, theSupportedProduct, (this.supportedProduct!= null)); } { List theApplications; theApplications = ((this.applications!= null)?this.getApplications():null); strategy.appendField(locator, this, "applications", buffer, theApplications, (this.applications!= null)); } { List theConfigurations; theConfigurations = ((this.configurations!= null)?this.getConfigurations():null); strategy.appendField(locator, this, "configurations", buffer, theConfigurations, (this.configurations!= null)); } { List theDaemonConfigurations; theDaemonConfigurations = ((this.daemonConfigurations!= null)?this.getDaemonConfigurations():null); strategy.appendField(locator, this, "daemonConfigurations", buffer, theDaemonConfigurations, (this.daemonConfigurations!= null)); } { List theHadoopConfigurations; theHadoopConfigurations = ((this.hadoopConfigurations!= null)?this.getHadoopConfigurations():null); strategy.appendField(locator, this, "hadoopConfigurations", buffer, theHadoopConfigurations, (this.hadoopConfigurations!= null)); } { List theHadoopJarSteps; theHadoopJarSteps = ((this.hadoopJarSteps!= null)?this.getHadoopJarSteps():null); strategy.appendField(locator, this, "hadoopJarSteps", buffer, theHadoopJarSteps, (this.hadoopJarSteps!= null)); } { List theAdditionalMasterSecurityGroups; theAdditionalMasterSecurityGroups = ((this.additionalMasterSecurityGroups!= null)?this.getAdditionalMasterSecurityGroups():null); strategy.appendField(locator, this, "additionalMasterSecurityGroups", buffer, theAdditionalMasterSecurityGroups, (this.additionalMasterSecurityGroups!= null)); } { List theAdditionalSlaveSecurityGroups; theAdditionalSlaveSecurityGroups = ((this.additionalSlaveSecurityGroups!= null)?this.getAdditionalSlaveSecurityGroups():null); strategy.appendField(locator, this, "additionalSlaveSecurityGroups", buffer, theAdditionalSlaveSecurityGroups, (this.additionalSlaveSecurityGroups!= null)); } { String theSecurityConfiguration; theSecurityConfiguration = this.getSecurityConfiguration(); strategy.appendField(locator, this, "securityConfiguration", buffer, theSecurityConfiguration, (this.securityConfiguration!= null)); } { String theMasterSecurityGroup; theMasterSecurityGroup = this.getMasterSecurityGroup(); strategy.appendField(locator, this, "masterSecurityGroup", buffer, theMasterSecurityGroup, (this.masterSecurityGroup!= null)); } { String theSlaveSecurityGroup; theSlaveSecurityGroup = this.getSlaveSecurityGroup(); strategy.appendField(locator, this, "slaveSecurityGroup", buffer, theSlaveSecurityGroup, (this.slaveSecurityGroup!= null)); } { String theServiceAccessSecurityGroup; theServiceAccessSecurityGroup = this.getServiceAccessSecurityGroup(); strategy.appendField(locator, this, "serviceAccessSecurityGroup", buffer, theServiceAccessSecurityGroup, (this.serviceAccessSecurityGroup!= null)); } { String theScaleDownBehavior; theScaleDownBehavior = this.getScaleDownBehavior(); strategy.appendField(locator, this, "scaleDownBehavior", buffer, theScaleDownBehavior, (this.scaleDownBehavior!= null)); } { EmrClusterDefinitionKerberosAttributes theKerberosAttributes; theKerberosAttributes = this.getKerberosAttributes(); strategy.appendField(locator, this, "kerberosAttributes", buffer, theKerberosAttributes, (this.kerberosAttributes!= null)); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final EmrClusterDefinition that = ((EmrClusterDefinition) object); { String lhsSshKeyPairName; lhsSshKeyPairName = this.getSshKeyPairName(); String rhsSshKeyPairName; rhsSshKeyPairName = that.getSshKeyPairName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "sshKeyPairName", lhsSshKeyPairName), LocatorUtils.property(thatLocator, "sshKeyPairName", rhsSshKeyPairName), lhsSshKeyPairName, rhsSshKeyPairName, (this.sshKeyPairName!= null), (that.sshKeyPairName!= null))) { return false; } } { String lhsSubnetId; lhsSubnetId = this.getSubnetId(); String rhsSubnetId; rhsSubnetId = that.getSubnetId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "subnetId", lhsSubnetId), LocatorUtils.property(thatLocator, "subnetId", rhsSubnetId), lhsSubnetId, rhsSubnetId, (this.subnetId!= null), (that.subnetId!= null))) { return false; } } { String lhsLogBucket; lhsLogBucket = this.getLogBucket(); String rhsLogBucket; rhsLogBucket = that.getLogBucket(); if (!strategy.equals(LocatorUtils.property(thisLocator, "logBucket", lhsLogBucket), LocatorUtils.property(thatLocator, "logBucket", rhsLogBucket), lhsLogBucket, rhsLogBucket, (this.logBucket!= null), (that.logBucket!= null))) { return false; } } { Boolean lhsKeepAlive; lhsKeepAlive = this.isKeepAlive(); Boolean rhsKeepAlive; rhsKeepAlive = that.isKeepAlive(); if (!strategy.equals(LocatorUtils.property(thisLocator, "keepAlive", lhsKeepAlive), LocatorUtils.property(thatLocator, "keepAlive", rhsKeepAlive), lhsKeepAlive, rhsKeepAlive, (this.keepAlive!= null), (that.keepAlive!= null))) { return false; } } { Boolean lhsVisibleToAll; lhsVisibleToAll = this.isVisibleToAll(); Boolean rhsVisibleToAll; rhsVisibleToAll = that.isVisibleToAll(); if (!strategy.equals(LocatorUtils.property(thisLocator, "visibleToAll", lhsVisibleToAll), LocatorUtils.property(thatLocator, "visibleToAll", rhsVisibleToAll), lhsVisibleToAll, rhsVisibleToAll, (this.visibleToAll!= null), (that.visibleToAll!= null))) { return false; } } { Boolean lhsTerminationProtection; lhsTerminationProtection = this.isTerminationProtection(); Boolean rhsTerminationProtection; rhsTerminationProtection = that.isTerminationProtection(); if (!strategy.equals(LocatorUtils.property(thisLocator, "terminationProtection", lhsTerminationProtection), LocatorUtils.property(thatLocator, "terminationProtection", rhsTerminationProtection), lhsTerminationProtection, rhsTerminationProtection, (this.terminationProtection!= null), (that.terminationProtection!= null))) { return false; } } { Boolean lhsEncryptionEnabled; lhsEncryptionEnabled = this.isEncryptionEnabled(); Boolean rhsEncryptionEnabled; rhsEncryptionEnabled = that.isEncryptionEnabled(); if (!strategy.equals(LocatorUtils.property(thisLocator, "encryptionEnabled", lhsEncryptionEnabled), LocatorUtils.property(thatLocator, "encryptionEnabled", rhsEncryptionEnabled), lhsEncryptionEnabled, rhsEncryptionEnabled, (this.encryptionEnabled!= null), (that.encryptionEnabled!= null))) { return false; } } { String lhsAccountId; lhsAccountId = this.getAccountId(); String rhsAccountId; rhsAccountId = that.getAccountId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "accountId", lhsAccountId), LocatorUtils.property(thatLocator, "accountId", rhsAccountId), lhsAccountId, rhsAccountId, (this.accountId!= null), (that.accountId!= null))) { return false; } } { String lhsServiceIamRole; lhsServiceIamRole = this.getServiceIamRole(); String rhsServiceIamRole; rhsServiceIamRole = that.getServiceIamRole(); if (!strategy.equals(LocatorUtils.property(thisLocator, "serviceIamRole", lhsServiceIamRole), LocatorUtils.property(thatLocator, "serviceIamRole", rhsServiceIamRole), lhsServiceIamRole, rhsServiceIamRole, (this.serviceIamRole!= null), (that.serviceIamRole!= null))) { return false; } } { String lhsEc2NodeIamProfileName; lhsEc2NodeIamProfileName = this.getEc2NodeIamProfileName(); String rhsEc2NodeIamProfileName; rhsEc2NodeIamProfileName = that.getEc2NodeIamProfileName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ec2NodeIamProfileName", lhsEc2NodeIamProfileName), LocatorUtils.property(thatLocator, "ec2NodeIamProfileName", rhsEc2NodeIamProfileName), lhsEc2NodeIamProfileName, rhsEc2NodeIamProfileName, (this.ec2NodeIamProfileName!= null), (that.ec2NodeIamProfileName!= null))) { return false; } } { String lhsAmiVersion; lhsAmiVersion = this.getAmiVersion(); String rhsAmiVersion; rhsAmiVersion = that.getAmiVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "amiVersion", lhsAmiVersion), LocatorUtils.property(thatLocator, "amiVersion", rhsAmiVersion), lhsAmiVersion, rhsAmiVersion, (this.amiVersion!= null), (that.amiVersion!= null))) { return false; } } { String lhsReleaseLabel; lhsReleaseLabel = this.getReleaseLabel(); String rhsReleaseLabel; rhsReleaseLabel = that.getReleaseLabel(); if (!strategy.equals(LocatorUtils.property(thisLocator, "releaseLabel", lhsReleaseLabel), LocatorUtils.property(thatLocator, "releaseLabel", rhsReleaseLabel), lhsReleaseLabel, rhsReleaseLabel, (this.releaseLabel!= null), (that.releaseLabel!= null))) { return false; } } { String lhsHadoopVersion; lhsHadoopVersion = this.getHadoopVersion(); String rhsHadoopVersion; rhsHadoopVersion = that.getHadoopVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "hadoopVersion", lhsHadoopVersion), LocatorUtils.property(thatLocator, "hadoopVersion", rhsHadoopVersion), lhsHadoopVersion, rhsHadoopVersion, (this.hadoopVersion!= null), (that.hadoopVersion!= null))) { return false; } } { String lhsHiveVersion; lhsHiveVersion = this.getHiveVersion(); String rhsHiveVersion; rhsHiveVersion = that.getHiveVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "hiveVersion", lhsHiveVersion), LocatorUtils.property(thatLocator, "hiveVersion", rhsHiveVersion), lhsHiveVersion, rhsHiveVersion, (this.hiveVersion!= null), (that.hiveVersion!= null))) { return false; } } { String lhsPigVersion; lhsPigVersion = this.getPigVersion(); String rhsPigVersion; rhsPigVersion = that.getPigVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "pigVersion", lhsPigVersion), LocatorUtils.property(thatLocator, "pigVersion", rhsPigVersion), lhsPigVersion, rhsPigVersion, (this.pigVersion!= null), (that.pigVersion!= null))) { return false; } } { Boolean lhsInstallOozie; lhsInstallOozie = this.isInstallOozie(); Boolean rhsInstallOozie; rhsInstallOozie = that.isInstallOozie(); if (!strategy.equals(LocatorUtils.property(thisLocator, "installOozie", lhsInstallOozie), LocatorUtils.property(thatLocator, "installOozie", rhsInstallOozie), lhsInstallOozie, rhsInstallOozie, (this.installOozie!= null), (that.installOozie!= null))) { return false; } } { List lhsCustomBootstrapActionMaster; lhsCustomBootstrapActionMaster = ((this.customBootstrapActionMaster!= null)?this.getCustomBootstrapActionMaster():null); List rhsCustomBootstrapActionMaster; rhsCustomBootstrapActionMaster = ((that.customBootstrapActionMaster!= null)?that.getCustomBootstrapActionMaster():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "customBootstrapActionMaster", lhsCustomBootstrapActionMaster), LocatorUtils.property(thatLocator, "customBootstrapActionMaster", rhsCustomBootstrapActionMaster), lhsCustomBootstrapActionMaster, rhsCustomBootstrapActionMaster, (this.customBootstrapActionMaster!= null), (that.customBootstrapActionMaster!= null))) { return false; } } { List lhsCustomBootstrapActionAll; lhsCustomBootstrapActionAll = ((this.customBootstrapActionAll!= null)?this.getCustomBootstrapActionAll():null); List rhsCustomBootstrapActionAll; rhsCustomBootstrapActionAll = ((that.customBootstrapActionAll!= null)?that.getCustomBootstrapActionAll():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "customBootstrapActionAll", lhsCustomBootstrapActionAll), LocatorUtils.property(thatLocator, "customBootstrapActionAll", rhsCustomBootstrapActionAll), lhsCustomBootstrapActionAll, rhsCustomBootstrapActionAll, (this.customBootstrapActionAll!= null), (that.customBootstrapActionAll!= null))) { return false; } } { String lhsAdditionalInfo; lhsAdditionalInfo = this.getAdditionalInfo(); String rhsAdditionalInfo; rhsAdditionalInfo = that.getAdditionalInfo(); if (!strategy.equals(LocatorUtils.property(thisLocator, "additionalInfo", lhsAdditionalInfo), LocatorUtils.property(thatLocator, "additionalInfo", rhsAdditionalInfo), lhsAdditionalInfo, rhsAdditionalInfo, (this.additionalInfo!= null), (that.additionalInfo!= null))) { return false; } } { InstanceDefinitions lhsInstanceDefinitions; lhsInstanceDefinitions = this.getInstanceDefinitions(); InstanceDefinitions rhsInstanceDefinitions; rhsInstanceDefinitions = that.getInstanceDefinitions(); if (!strategy.equals(LocatorUtils.property(thisLocator, "instanceDefinitions", lhsInstanceDefinitions), LocatorUtils.property(thatLocator, "instanceDefinitions", rhsInstanceDefinitions), lhsInstanceDefinitions, rhsInstanceDefinitions, (this.instanceDefinitions!= null), (that.instanceDefinitions!= null))) { return false; } } { List lhsInstanceFleets; lhsInstanceFleets = ((this.instanceFleets!= null)?this.getInstanceFleets():null); List rhsInstanceFleets; rhsInstanceFleets = ((that.instanceFleets!= null)?that.getInstanceFleets():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "instanceFleets", lhsInstanceFleets), LocatorUtils.property(thatLocator, "instanceFleets", rhsInstanceFleets), lhsInstanceFleets, rhsInstanceFleets, (this.instanceFleets!= null), (that.instanceFleets!= null))) { return false; } } { List lhsNodeTags; lhsNodeTags = ((this.nodeTags!= null)?this.getNodeTags():null); List rhsNodeTags; rhsNodeTags = ((that.nodeTags!= null)?that.getNodeTags():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "nodeTags", lhsNodeTags), LocatorUtils.property(thatLocator, "nodeTags", rhsNodeTags), lhsNodeTags, rhsNodeTags, (this.nodeTags!= null), (that.nodeTags!= null))) { return false; } } { String lhsSupportedProduct; lhsSupportedProduct = this.getSupportedProduct(); String rhsSupportedProduct; rhsSupportedProduct = that.getSupportedProduct(); if (!strategy.equals(LocatorUtils.property(thisLocator, "supportedProduct", lhsSupportedProduct), LocatorUtils.property(thatLocator, "supportedProduct", rhsSupportedProduct), lhsSupportedProduct, rhsSupportedProduct, (this.supportedProduct!= null), (that.supportedProduct!= null))) { return false; } } { List lhsApplications; lhsApplications = ((this.applications!= null)?this.getApplications():null); List rhsApplications; rhsApplications = ((that.applications!= null)?that.getApplications():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "applications", lhsApplications), LocatorUtils.property(thatLocator, "applications", rhsApplications), lhsApplications, rhsApplications, (this.applications!= null), (that.applications!= null))) { return false; } } { List lhsConfigurations; lhsConfigurations = ((this.configurations!= null)?this.getConfigurations():null); List rhsConfigurations; rhsConfigurations = ((that.configurations!= null)?that.getConfigurations():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "configurations", lhsConfigurations), LocatorUtils.property(thatLocator, "configurations", rhsConfigurations), lhsConfigurations, rhsConfigurations, (this.configurations!= null), (that.configurations!= null))) { return false; } } { List lhsDaemonConfigurations; lhsDaemonConfigurations = ((this.daemonConfigurations!= null)?this.getDaemonConfigurations():null); List rhsDaemonConfigurations; rhsDaemonConfigurations = ((that.daemonConfigurations!= null)?that.getDaemonConfigurations():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "daemonConfigurations", lhsDaemonConfigurations), LocatorUtils.property(thatLocator, "daemonConfigurations", rhsDaemonConfigurations), lhsDaemonConfigurations, rhsDaemonConfigurations, (this.daemonConfigurations!= null), (that.daemonConfigurations!= null))) { return false; } } { List lhsHadoopConfigurations; lhsHadoopConfigurations = ((this.hadoopConfigurations!= null)?this.getHadoopConfigurations():null); List rhsHadoopConfigurations; rhsHadoopConfigurations = ((that.hadoopConfigurations!= null)?that.getHadoopConfigurations():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "hadoopConfigurations", lhsHadoopConfigurations), LocatorUtils.property(thatLocator, "hadoopConfigurations", rhsHadoopConfigurations), lhsHadoopConfigurations, rhsHadoopConfigurations, (this.hadoopConfigurations!= null), (that.hadoopConfigurations!= null))) { return false; } } { List lhsHadoopJarSteps; lhsHadoopJarSteps = ((this.hadoopJarSteps!= null)?this.getHadoopJarSteps():null); List rhsHadoopJarSteps; rhsHadoopJarSteps = ((that.hadoopJarSteps!= null)?that.getHadoopJarSteps():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "hadoopJarSteps", lhsHadoopJarSteps), LocatorUtils.property(thatLocator, "hadoopJarSteps", rhsHadoopJarSteps), lhsHadoopJarSteps, rhsHadoopJarSteps, (this.hadoopJarSteps!= null), (that.hadoopJarSteps!= null))) { return false; } } { List lhsAdditionalMasterSecurityGroups; lhsAdditionalMasterSecurityGroups = ((this.additionalMasterSecurityGroups!= null)?this.getAdditionalMasterSecurityGroups():null); List rhsAdditionalMasterSecurityGroups; rhsAdditionalMasterSecurityGroups = ((that.additionalMasterSecurityGroups!= null)?that.getAdditionalMasterSecurityGroups():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "additionalMasterSecurityGroups", lhsAdditionalMasterSecurityGroups), LocatorUtils.property(thatLocator, "additionalMasterSecurityGroups", rhsAdditionalMasterSecurityGroups), lhsAdditionalMasterSecurityGroups, rhsAdditionalMasterSecurityGroups, (this.additionalMasterSecurityGroups!= null), (that.additionalMasterSecurityGroups!= null))) { return false; } } { List lhsAdditionalSlaveSecurityGroups; lhsAdditionalSlaveSecurityGroups = ((this.additionalSlaveSecurityGroups!= null)?this.getAdditionalSlaveSecurityGroups():null); List rhsAdditionalSlaveSecurityGroups; rhsAdditionalSlaveSecurityGroups = ((that.additionalSlaveSecurityGroups!= null)?that.getAdditionalSlaveSecurityGroups():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "additionalSlaveSecurityGroups", lhsAdditionalSlaveSecurityGroups), LocatorUtils.property(thatLocator, "additionalSlaveSecurityGroups", rhsAdditionalSlaveSecurityGroups), lhsAdditionalSlaveSecurityGroups, rhsAdditionalSlaveSecurityGroups, (this.additionalSlaveSecurityGroups!= null), (that.additionalSlaveSecurityGroups!= null))) { return false; } } { String lhsSecurityConfiguration; lhsSecurityConfiguration = this.getSecurityConfiguration(); String rhsSecurityConfiguration; rhsSecurityConfiguration = that.getSecurityConfiguration(); if (!strategy.equals(LocatorUtils.property(thisLocator, "securityConfiguration", lhsSecurityConfiguration), LocatorUtils.property(thatLocator, "securityConfiguration", rhsSecurityConfiguration), lhsSecurityConfiguration, rhsSecurityConfiguration, (this.securityConfiguration!= null), (that.securityConfiguration!= null))) { return false; } } { String lhsMasterSecurityGroup; lhsMasterSecurityGroup = this.getMasterSecurityGroup(); String rhsMasterSecurityGroup; rhsMasterSecurityGroup = that.getMasterSecurityGroup(); if (!strategy.equals(LocatorUtils.property(thisLocator, "masterSecurityGroup", lhsMasterSecurityGroup), LocatorUtils.property(thatLocator, "masterSecurityGroup", rhsMasterSecurityGroup), lhsMasterSecurityGroup, rhsMasterSecurityGroup, (this.masterSecurityGroup!= null), (that.masterSecurityGroup!= null))) { return false; } } { String lhsSlaveSecurityGroup; lhsSlaveSecurityGroup = this.getSlaveSecurityGroup(); String rhsSlaveSecurityGroup; rhsSlaveSecurityGroup = that.getSlaveSecurityGroup(); if (!strategy.equals(LocatorUtils.property(thisLocator, "slaveSecurityGroup", lhsSlaveSecurityGroup), LocatorUtils.property(thatLocator, "slaveSecurityGroup", rhsSlaveSecurityGroup), lhsSlaveSecurityGroup, rhsSlaveSecurityGroup, (this.slaveSecurityGroup!= null), (that.slaveSecurityGroup!= null))) { return false; } } { String lhsServiceAccessSecurityGroup; lhsServiceAccessSecurityGroup = this.getServiceAccessSecurityGroup(); String rhsServiceAccessSecurityGroup; rhsServiceAccessSecurityGroup = that.getServiceAccessSecurityGroup(); if (!strategy.equals(LocatorUtils.property(thisLocator, "serviceAccessSecurityGroup", lhsServiceAccessSecurityGroup), LocatorUtils.property(thatLocator, "serviceAccessSecurityGroup", rhsServiceAccessSecurityGroup), lhsServiceAccessSecurityGroup, rhsServiceAccessSecurityGroup, (this.serviceAccessSecurityGroup!= null), (that.serviceAccessSecurityGroup!= null))) { return false; } } { String lhsScaleDownBehavior; lhsScaleDownBehavior = this.getScaleDownBehavior(); String rhsScaleDownBehavior; rhsScaleDownBehavior = that.getScaleDownBehavior(); if (!strategy.equals(LocatorUtils.property(thisLocator, "scaleDownBehavior", lhsScaleDownBehavior), LocatorUtils.property(thatLocator, "scaleDownBehavior", rhsScaleDownBehavior), lhsScaleDownBehavior, rhsScaleDownBehavior, (this.scaleDownBehavior!= null), (that.scaleDownBehavior!= null))) { return false; } } { EmrClusterDefinitionKerberosAttributes lhsKerberosAttributes; lhsKerberosAttributes = this.getKerberosAttributes(); EmrClusterDefinitionKerberosAttributes rhsKerberosAttributes; rhsKerberosAttributes = that.getKerberosAttributes(); if (!strategy.equals(LocatorUtils.property(thisLocator, "kerberosAttributes", lhsKerberosAttributes), LocatorUtils.property(thatLocator, "kerberosAttributes", rhsKerberosAttributes), lhsKerberosAttributes, rhsKerberosAttributes, (this.kerberosAttributes!= null), (that.kerberosAttributes!= null))) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theSshKeyPairName; theSshKeyPairName = this.getSshKeyPairName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sshKeyPairName", theSshKeyPairName), currentHashCode, theSshKeyPairName, (this.sshKeyPairName!= null)); } { String theSubnetId; theSubnetId = this.getSubnetId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subnetId", theSubnetId), currentHashCode, theSubnetId, (this.subnetId!= null)); } { String theLogBucket; theLogBucket = this.getLogBucket(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "logBucket", theLogBucket), currentHashCode, theLogBucket, (this.logBucket!= null)); } { Boolean theKeepAlive; theKeepAlive = this.isKeepAlive(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keepAlive", theKeepAlive), currentHashCode, theKeepAlive, (this.keepAlive!= null)); } { Boolean theVisibleToAll; theVisibleToAll = this.isVisibleToAll(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "visibleToAll", theVisibleToAll), currentHashCode, theVisibleToAll, (this.visibleToAll!= null)); } { Boolean theTerminationProtection; theTerminationProtection = this.isTerminationProtection(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "terminationProtection", theTerminationProtection), currentHashCode, theTerminationProtection, (this.terminationProtection!= null)); } { Boolean theEncryptionEnabled; theEncryptionEnabled = this.isEncryptionEnabled(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "encryptionEnabled", theEncryptionEnabled), currentHashCode, theEncryptionEnabled, (this.encryptionEnabled!= null)); } { String theAccountId; theAccountId = this.getAccountId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "accountId", theAccountId), currentHashCode, theAccountId, (this.accountId!= null)); } { String theServiceIamRole; theServiceIamRole = this.getServiceIamRole(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceIamRole", theServiceIamRole), currentHashCode, theServiceIamRole, (this.serviceIamRole!= null)); } { String theEc2NodeIamProfileName; theEc2NodeIamProfileName = this.getEc2NodeIamProfileName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ec2NodeIamProfileName", theEc2NodeIamProfileName), currentHashCode, theEc2NodeIamProfileName, (this.ec2NodeIamProfileName!= null)); } { String theAmiVersion; theAmiVersion = this.getAmiVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "amiVersion", theAmiVersion), currentHashCode, theAmiVersion, (this.amiVersion!= null)); } { String theReleaseLabel; theReleaseLabel = this.getReleaseLabel(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "releaseLabel", theReleaseLabel), currentHashCode, theReleaseLabel, (this.releaseLabel!= null)); } { String theHadoopVersion; theHadoopVersion = this.getHadoopVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hadoopVersion", theHadoopVersion), currentHashCode, theHadoopVersion, (this.hadoopVersion!= null)); } { String theHiveVersion; theHiveVersion = this.getHiveVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hiveVersion", theHiveVersion), currentHashCode, theHiveVersion, (this.hiveVersion!= null)); } { String thePigVersion; thePigVersion = this.getPigVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pigVersion", thePigVersion), currentHashCode, thePigVersion, (this.pigVersion!= null)); } { Boolean theInstallOozie; theInstallOozie = this.isInstallOozie(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "installOozie", theInstallOozie), currentHashCode, theInstallOozie, (this.installOozie!= null)); } { List theCustomBootstrapActionMaster; theCustomBootstrapActionMaster = ((this.customBootstrapActionMaster!= null)?this.getCustomBootstrapActionMaster():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customBootstrapActionMaster", theCustomBootstrapActionMaster), currentHashCode, theCustomBootstrapActionMaster, (this.customBootstrapActionMaster!= null)); } { List theCustomBootstrapActionAll; theCustomBootstrapActionAll = ((this.customBootstrapActionAll!= null)?this.getCustomBootstrapActionAll():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customBootstrapActionAll", theCustomBootstrapActionAll), currentHashCode, theCustomBootstrapActionAll, (this.customBootstrapActionAll!= null)); } { String theAdditionalInfo; theAdditionalInfo = this.getAdditionalInfo(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "additionalInfo", theAdditionalInfo), currentHashCode, theAdditionalInfo, (this.additionalInfo!= null)); } { InstanceDefinitions theInstanceDefinitions; theInstanceDefinitions = this.getInstanceDefinitions(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "instanceDefinitions", theInstanceDefinitions), currentHashCode, theInstanceDefinitions, (this.instanceDefinitions!= null)); } { List theInstanceFleets; theInstanceFleets = ((this.instanceFleets!= null)?this.getInstanceFleets():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "instanceFleets", theInstanceFleets), currentHashCode, theInstanceFleets, (this.instanceFleets!= null)); } { List theNodeTags; theNodeTags = ((this.nodeTags!= null)?this.getNodeTags():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "nodeTags", theNodeTags), currentHashCode, theNodeTags, (this.nodeTags!= null)); } { String theSupportedProduct; theSupportedProduct = this.getSupportedProduct(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "supportedProduct", theSupportedProduct), currentHashCode, theSupportedProduct, (this.supportedProduct!= null)); } { List theApplications; theApplications = ((this.applications!= null)?this.getApplications():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "applications", theApplications), currentHashCode, theApplications, (this.applications!= null)); } { List theConfigurations; theConfigurations = ((this.configurations!= null)?this.getConfigurations():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "configurations", theConfigurations), currentHashCode, theConfigurations, (this.configurations!= null)); } { List theDaemonConfigurations; theDaemonConfigurations = ((this.daemonConfigurations!= null)?this.getDaemonConfigurations():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "daemonConfigurations", theDaemonConfigurations), currentHashCode, theDaemonConfigurations, (this.daemonConfigurations!= null)); } { List theHadoopConfigurations; theHadoopConfigurations = ((this.hadoopConfigurations!= null)?this.getHadoopConfigurations():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hadoopConfigurations", theHadoopConfigurations), currentHashCode, theHadoopConfigurations, (this.hadoopConfigurations!= null)); } { List theHadoopJarSteps; theHadoopJarSteps = ((this.hadoopJarSteps!= null)?this.getHadoopJarSteps():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hadoopJarSteps", theHadoopJarSteps), currentHashCode, theHadoopJarSteps, (this.hadoopJarSteps!= null)); } { List theAdditionalMasterSecurityGroups; theAdditionalMasterSecurityGroups = ((this.additionalMasterSecurityGroups!= null)?this.getAdditionalMasterSecurityGroups():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "additionalMasterSecurityGroups", theAdditionalMasterSecurityGroups), currentHashCode, theAdditionalMasterSecurityGroups, (this.additionalMasterSecurityGroups!= null)); } { List theAdditionalSlaveSecurityGroups; theAdditionalSlaveSecurityGroups = ((this.additionalSlaveSecurityGroups!= null)?this.getAdditionalSlaveSecurityGroups():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "additionalSlaveSecurityGroups", theAdditionalSlaveSecurityGroups), currentHashCode, theAdditionalSlaveSecurityGroups, (this.additionalSlaveSecurityGroups!= null)); } { String theSecurityConfiguration; theSecurityConfiguration = this.getSecurityConfiguration(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "securityConfiguration", theSecurityConfiguration), currentHashCode, theSecurityConfiguration, (this.securityConfiguration!= null)); } { String theMasterSecurityGroup; theMasterSecurityGroup = this.getMasterSecurityGroup(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "masterSecurityGroup", theMasterSecurityGroup), currentHashCode, theMasterSecurityGroup, (this.masterSecurityGroup!= null)); } { String theSlaveSecurityGroup; theSlaveSecurityGroup = this.getSlaveSecurityGroup(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "slaveSecurityGroup", theSlaveSecurityGroup), currentHashCode, theSlaveSecurityGroup, (this.slaveSecurityGroup!= null)); } { String theServiceAccessSecurityGroup; theServiceAccessSecurityGroup = this.getServiceAccessSecurityGroup(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceAccessSecurityGroup", theServiceAccessSecurityGroup), currentHashCode, theServiceAccessSecurityGroup, (this.serviceAccessSecurityGroup!= null)); } { String theScaleDownBehavior; theScaleDownBehavior = this.getScaleDownBehavior(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "scaleDownBehavior", theScaleDownBehavior), currentHashCode, theScaleDownBehavior, (this.scaleDownBehavior!= null)); } { EmrClusterDefinitionKerberosAttributes theKerberosAttributes; theKerberosAttributes = this.getKerberosAttributes(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "kerberosAttributes", theKerberosAttributes), currentHashCode, theKerberosAttributes, (this.kerberosAttributes!= null)); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } public Object clone() { return copyTo(createNewInstance()); } public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); } public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof EmrClusterDefinition) { final EmrClusterDefinition copy = ((EmrClusterDefinition) draftCopy); { Boolean sshKeyPairNameShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.sshKeyPairName!= null)); if (sshKeyPairNameShouldBeCopiedAndSet == Boolean.TRUE) { String sourceSshKeyPairName; sourceSshKeyPairName = this.getSshKeyPairName(); String copySshKeyPairName = ((String) strategy.copy(LocatorUtils.property(locator, "sshKeyPairName", sourceSshKeyPairName), sourceSshKeyPairName, (this.sshKeyPairName!= null))); copy.setSshKeyPairName(copySshKeyPairName); } else { if (sshKeyPairNameShouldBeCopiedAndSet == Boolean.FALSE) { copy.sshKeyPairName = null; } } } { Boolean subnetIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.subnetId!= null)); if (subnetIdShouldBeCopiedAndSet == Boolean.TRUE) { String sourceSubnetId; sourceSubnetId = this.getSubnetId(); String copySubnetId = ((String) strategy.copy(LocatorUtils.property(locator, "subnetId", sourceSubnetId), sourceSubnetId, (this.subnetId!= null))); copy.setSubnetId(copySubnetId); } else { if (subnetIdShouldBeCopiedAndSet == Boolean.FALSE) { copy.subnetId = null; } } } { Boolean logBucketShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.logBucket!= null)); if (logBucketShouldBeCopiedAndSet == Boolean.TRUE) { String sourceLogBucket; sourceLogBucket = this.getLogBucket(); String copyLogBucket = ((String) strategy.copy(LocatorUtils.property(locator, "logBucket", sourceLogBucket), sourceLogBucket, (this.logBucket!= null))); copy.setLogBucket(copyLogBucket); } else { if (logBucketShouldBeCopiedAndSet == Boolean.FALSE) { copy.logBucket = null; } } } { Boolean keepAliveShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.keepAlive!= null)); if (keepAliveShouldBeCopiedAndSet == Boolean.TRUE) { Boolean sourceKeepAlive; sourceKeepAlive = this.isKeepAlive(); Boolean copyKeepAlive = ((Boolean) strategy.copy(LocatorUtils.property(locator, "keepAlive", sourceKeepAlive), sourceKeepAlive, (this.keepAlive!= null))); copy.setKeepAlive(copyKeepAlive); } else { if (keepAliveShouldBeCopiedAndSet == Boolean.FALSE) { copy.keepAlive = null; } } } { Boolean visibleToAllShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.visibleToAll!= null)); if (visibleToAllShouldBeCopiedAndSet == Boolean.TRUE) { Boolean sourceVisibleToAll; sourceVisibleToAll = this.isVisibleToAll(); Boolean copyVisibleToAll = ((Boolean) strategy.copy(LocatorUtils.property(locator, "visibleToAll", sourceVisibleToAll), sourceVisibleToAll, (this.visibleToAll!= null))); copy.setVisibleToAll(copyVisibleToAll); } else { if (visibleToAllShouldBeCopiedAndSet == Boolean.FALSE) { copy.visibleToAll = null; } } } { Boolean terminationProtectionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.terminationProtection!= null)); if (terminationProtectionShouldBeCopiedAndSet == Boolean.TRUE) { Boolean sourceTerminationProtection; sourceTerminationProtection = this.isTerminationProtection(); Boolean copyTerminationProtection = ((Boolean) strategy.copy(LocatorUtils.property(locator, "terminationProtection", sourceTerminationProtection), sourceTerminationProtection, (this.terminationProtection!= null))); copy.setTerminationProtection(copyTerminationProtection); } else { if (terminationProtectionShouldBeCopiedAndSet == Boolean.FALSE) { copy.terminationProtection = null; } } } { Boolean encryptionEnabledShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.encryptionEnabled!= null)); if (encryptionEnabledShouldBeCopiedAndSet == Boolean.TRUE) { Boolean sourceEncryptionEnabled; sourceEncryptionEnabled = this.isEncryptionEnabled(); Boolean copyEncryptionEnabled = ((Boolean) strategy.copy(LocatorUtils.property(locator, "encryptionEnabled", sourceEncryptionEnabled), sourceEncryptionEnabled, (this.encryptionEnabled!= null))); copy.setEncryptionEnabled(copyEncryptionEnabled); } else { if (encryptionEnabledShouldBeCopiedAndSet == Boolean.FALSE) { copy.encryptionEnabled = null; } } } { Boolean accountIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.accountId!= null)); if (accountIdShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAccountId; sourceAccountId = this.getAccountId(); String copyAccountId = ((String) strategy.copy(LocatorUtils.property(locator, "accountId", sourceAccountId), sourceAccountId, (this.accountId!= null))); copy.setAccountId(copyAccountId); } else { if (accountIdShouldBeCopiedAndSet == Boolean.FALSE) { copy.accountId = null; } } } { Boolean serviceIamRoleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.serviceIamRole!= null)); if (serviceIamRoleShouldBeCopiedAndSet == Boolean.TRUE) { String sourceServiceIamRole; sourceServiceIamRole = this.getServiceIamRole(); String copyServiceIamRole = ((String) strategy.copy(LocatorUtils.property(locator, "serviceIamRole", sourceServiceIamRole), sourceServiceIamRole, (this.serviceIamRole!= null))); copy.setServiceIamRole(copyServiceIamRole); } else { if (serviceIamRoleShouldBeCopiedAndSet == Boolean.FALSE) { copy.serviceIamRole = null; } } } { Boolean ec2NodeIamProfileNameShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.ec2NodeIamProfileName!= null)); if (ec2NodeIamProfileNameShouldBeCopiedAndSet == Boolean.TRUE) { String sourceEc2NodeIamProfileName; sourceEc2NodeIamProfileName = this.getEc2NodeIamProfileName(); String copyEc2NodeIamProfileName = ((String) strategy.copy(LocatorUtils.property(locator, "ec2NodeIamProfileName", sourceEc2NodeIamProfileName), sourceEc2NodeIamProfileName, (this.ec2NodeIamProfileName!= null))); copy.setEc2NodeIamProfileName(copyEc2NodeIamProfileName); } else { if (ec2NodeIamProfileNameShouldBeCopiedAndSet == Boolean.FALSE) { copy.ec2NodeIamProfileName = null; } } } { Boolean amiVersionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.amiVersion!= null)); if (amiVersionShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAmiVersion; sourceAmiVersion = this.getAmiVersion(); String copyAmiVersion = ((String) strategy.copy(LocatorUtils.property(locator, "amiVersion", sourceAmiVersion), sourceAmiVersion, (this.amiVersion!= null))); copy.setAmiVersion(copyAmiVersion); } else { if (amiVersionShouldBeCopiedAndSet == Boolean.FALSE) { copy.amiVersion = null; } } } { Boolean releaseLabelShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.releaseLabel!= null)); if (releaseLabelShouldBeCopiedAndSet == Boolean.TRUE) { String sourceReleaseLabel; sourceReleaseLabel = this.getReleaseLabel(); String copyReleaseLabel = ((String) strategy.copy(LocatorUtils.property(locator, "releaseLabel", sourceReleaseLabel), sourceReleaseLabel, (this.releaseLabel!= null))); copy.setReleaseLabel(copyReleaseLabel); } else { if (releaseLabelShouldBeCopiedAndSet == Boolean.FALSE) { copy.releaseLabel = null; } } } { Boolean hadoopVersionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.hadoopVersion!= null)); if (hadoopVersionShouldBeCopiedAndSet == Boolean.TRUE) { String sourceHadoopVersion; sourceHadoopVersion = this.getHadoopVersion(); String copyHadoopVersion = ((String) strategy.copy(LocatorUtils.property(locator, "hadoopVersion", sourceHadoopVersion), sourceHadoopVersion, (this.hadoopVersion!= null))); copy.setHadoopVersion(copyHadoopVersion); } else { if (hadoopVersionShouldBeCopiedAndSet == Boolean.FALSE) { copy.hadoopVersion = null; } } } { Boolean hiveVersionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.hiveVersion!= null)); if (hiveVersionShouldBeCopiedAndSet == Boolean.TRUE) { String sourceHiveVersion; sourceHiveVersion = this.getHiveVersion(); String copyHiveVersion = ((String) strategy.copy(LocatorUtils.property(locator, "hiveVersion", sourceHiveVersion), sourceHiveVersion, (this.hiveVersion!= null))); copy.setHiveVersion(copyHiveVersion); } else { if (hiveVersionShouldBeCopiedAndSet == Boolean.FALSE) { copy.hiveVersion = null; } } } { Boolean pigVersionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.pigVersion!= null)); if (pigVersionShouldBeCopiedAndSet == Boolean.TRUE) { String sourcePigVersion; sourcePigVersion = this.getPigVersion(); String copyPigVersion = ((String) strategy.copy(LocatorUtils.property(locator, "pigVersion", sourcePigVersion), sourcePigVersion, (this.pigVersion!= null))); copy.setPigVersion(copyPigVersion); } else { if (pigVersionShouldBeCopiedAndSet == Boolean.FALSE) { copy.pigVersion = null; } } } { Boolean installOozieShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.installOozie!= null)); if (installOozieShouldBeCopiedAndSet == Boolean.TRUE) { Boolean sourceInstallOozie; sourceInstallOozie = this.isInstallOozie(); Boolean copyInstallOozie = ((Boolean) strategy.copy(LocatorUtils.property(locator, "installOozie", sourceInstallOozie), sourceInstallOozie, (this.installOozie!= null))); copy.setInstallOozie(copyInstallOozie); } else { if (installOozieShouldBeCopiedAndSet == Boolean.FALSE) { copy.installOozie = null; } } } { Boolean customBootstrapActionMasterShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.customBootstrapActionMaster!= null)); if (customBootstrapActionMasterShouldBeCopiedAndSet == Boolean.TRUE) { List sourceCustomBootstrapActionMaster; sourceCustomBootstrapActionMaster = ((this.customBootstrapActionMaster!= null)?this.getCustomBootstrapActionMaster():null); @SuppressWarnings("unchecked") List copyCustomBootstrapActionMaster = ((List ) strategy.copy(LocatorUtils.property(locator, "customBootstrapActionMaster", sourceCustomBootstrapActionMaster), sourceCustomBootstrapActionMaster, (this.customBootstrapActionMaster!= null))); copy.customBootstrapActionMaster = null; if (copyCustomBootstrapActionMaster!= null) { copy.setCustomBootstrapActionMaster(copyCustomBootstrapActionMaster); } } else { if (customBootstrapActionMasterShouldBeCopiedAndSet == Boolean.FALSE) { copy.customBootstrapActionMaster = null; } } } { Boolean customBootstrapActionAllShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.customBootstrapActionAll!= null)); if (customBootstrapActionAllShouldBeCopiedAndSet == Boolean.TRUE) { List sourceCustomBootstrapActionAll; sourceCustomBootstrapActionAll = ((this.customBootstrapActionAll!= null)?this.getCustomBootstrapActionAll():null); @SuppressWarnings("unchecked") List copyCustomBootstrapActionAll = ((List ) strategy.copy(LocatorUtils.property(locator, "customBootstrapActionAll", sourceCustomBootstrapActionAll), sourceCustomBootstrapActionAll, (this.customBootstrapActionAll!= null))); copy.customBootstrapActionAll = null; if (copyCustomBootstrapActionAll!= null) { copy.setCustomBootstrapActionAll(copyCustomBootstrapActionAll); } } else { if (customBootstrapActionAllShouldBeCopiedAndSet == Boolean.FALSE) { copy.customBootstrapActionAll = null; } } } { Boolean additionalInfoShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.additionalInfo!= null)); if (additionalInfoShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAdditionalInfo; sourceAdditionalInfo = this.getAdditionalInfo(); String copyAdditionalInfo = ((String) strategy.copy(LocatorUtils.property(locator, "additionalInfo", sourceAdditionalInfo), sourceAdditionalInfo, (this.additionalInfo!= null))); copy.setAdditionalInfo(copyAdditionalInfo); } else { if (additionalInfoShouldBeCopiedAndSet == Boolean.FALSE) { copy.additionalInfo = null; } } } { Boolean instanceDefinitionsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.instanceDefinitions!= null)); if (instanceDefinitionsShouldBeCopiedAndSet == Boolean.TRUE) { InstanceDefinitions sourceInstanceDefinitions; sourceInstanceDefinitions = this.getInstanceDefinitions(); InstanceDefinitions copyInstanceDefinitions = ((InstanceDefinitions) strategy.copy(LocatorUtils.property(locator, "instanceDefinitions", sourceInstanceDefinitions), sourceInstanceDefinitions, (this.instanceDefinitions!= null))); copy.setInstanceDefinitions(copyInstanceDefinitions); } else { if (instanceDefinitionsShouldBeCopiedAndSet == Boolean.FALSE) { copy.instanceDefinitions = null; } } } { Boolean instanceFleetsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.instanceFleets!= null)); if (instanceFleetsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceInstanceFleets; sourceInstanceFleets = ((this.instanceFleets!= null)?this.getInstanceFleets():null); @SuppressWarnings("unchecked") List copyInstanceFleets = ((List ) strategy.copy(LocatorUtils.property(locator, "instanceFleets", sourceInstanceFleets), sourceInstanceFleets, (this.instanceFleets!= null))); copy.instanceFleets = null; if (copyInstanceFleets!= null) { copy.setInstanceFleets(copyInstanceFleets); } } else { if (instanceFleetsShouldBeCopiedAndSet == Boolean.FALSE) { copy.instanceFleets = null; } } } { Boolean nodeTagsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.nodeTags!= null)); if (nodeTagsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceNodeTags; sourceNodeTags = ((this.nodeTags!= null)?this.getNodeTags():null); @SuppressWarnings("unchecked") List copyNodeTags = ((List ) strategy.copy(LocatorUtils.property(locator, "nodeTags", sourceNodeTags), sourceNodeTags, (this.nodeTags!= null))); copy.nodeTags = null; if (copyNodeTags!= null) { copy.setNodeTags(copyNodeTags); } } else { if (nodeTagsShouldBeCopiedAndSet == Boolean.FALSE) { copy.nodeTags = null; } } } { Boolean supportedProductShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.supportedProduct!= null)); if (supportedProductShouldBeCopiedAndSet == Boolean.TRUE) { String sourceSupportedProduct; sourceSupportedProduct = this.getSupportedProduct(); String copySupportedProduct = ((String) strategy.copy(LocatorUtils.property(locator, "supportedProduct", sourceSupportedProduct), sourceSupportedProduct, (this.supportedProduct!= null))); copy.setSupportedProduct(copySupportedProduct); } else { if (supportedProductShouldBeCopiedAndSet == Boolean.FALSE) { copy.supportedProduct = null; } } } { Boolean applicationsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.applications!= null)); if (applicationsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceApplications; sourceApplications = ((this.applications!= null)?this.getApplications():null); @SuppressWarnings("unchecked") List copyApplications = ((List ) strategy.copy(LocatorUtils.property(locator, "applications", sourceApplications), sourceApplications, (this.applications!= null))); copy.applications = null; if (copyApplications!= null) { copy.setApplications(copyApplications); } } else { if (applicationsShouldBeCopiedAndSet == Boolean.FALSE) { copy.applications = null; } } } { Boolean configurationsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.configurations!= null)); if (configurationsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceConfigurations; sourceConfigurations = ((this.configurations!= null)?this.getConfigurations():null); @SuppressWarnings("unchecked") List copyConfigurations = ((List ) strategy.copy(LocatorUtils.property(locator, "configurations", sourceConfigurations), sourceConfigurations, (this.configurations!= null))); copy.configurations = null; if (copyConfigurations!= null) { copy.setConfigurations(copyConfigurations); } } else { if (configurationsShouldBeCopiedAndSet == Boolean.FALSE) { copy.configurations = null; } } } { Boolean daemonConfigurationsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.daemonConfigurations!= null)); if (daemonConfigurationsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceDaemonConfigurations; sourceDaemonConfigurations = ((this.daemonConfigurations!= null)?this.getDaemonConfigurations():null); @SuppressWarnings("unchecked") List copyDaemonConfigurations = ((List ) strategy.copy(LocatorUtils.property(locator, "daemonConfigurations", sourceDaemonConfigurations), sourceDaemonConfigurations, (this.daemonConfigurations!= null))); copy.daemonConfigurations = null; if (copyDaemonConfigurations!= null) { copy.setDaemonConfigurations(copyDaemonConfigurations); } } else { if (daemonConfigurationsShouldBeCopiedAndSet == Boolean.FALSE) { copy.daemonConfigurations = null; } } } { Boolean hadoopConfigurationsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.hadoopConfigurations!= null)); if (hadoopConfigurationsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceHadoopConfigurations; sourceHadoopConfigurations = ((this.hadoopConfigurations!= null)?this.getHadoopConfigurations():null); @SuppressWarnings("unchecked") List copyHadoopConfigurations = ((List ) strategy.copy(LocatorUtils.property(locator, "hadoopConfigurations", sourceHadoopConfigurations), sourceHadoopConfigurations, (this.hadoopConfigurations!= null))); copy.hadoopConfigurations = null; if (copyHadoopConfigurations!= null) { copy.setHadoopConfigurations(copyHadoopConfigurations); } } else { if (hadoopConfigurationsShouldBeCopiedAndSet == Boolean.FALSE) { copy.hadoopConfigurations = null; } } } { Boolean hadoopJarStepsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.hadoopJarSteps!= null)); if (hadoopJarStepsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceHadoopJarSteps; sourceHadoopJarSteps = ((this.hadoopJarSteps!= null)?this.getHadoopJarSteps():null); @SuppressWarnings("unchecked") List copyHadoopJarSteps = ((List ) strategy.copy(LocatorUtils.property(locator, "hadoopJarSteps", sourceHadoopJarSteps), sourceHadoopJarSteps, (this.hadoopJarSteps!= null))); copy.hadoopJarSteps = null; if (copyHadoopJarSteps!= null) { copy.setHadoopJarSteps(copyHadoopJarSteps); } } else { if (hadoopJarStepsShouldBeCopiedAndSet == Boolean.FALSE) { copy.hadoopJarSteps = null; } } } { Boolean additionalMasterSecurityGroupsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.additionalMasterSecurityGroups!= null)); if (additionalMasterSecurityGroupsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceAdditionalMasterSecurityGroups; sourceAdditionalMasterSecurityGroups = ((this.additionalMasterSecurityGroups!= null)?this.getAdditionalMasterSecurityGroups():null); @SuppressWarnings("unchecked") List copyAdditionalMasterSecurityGroups = ((List ) strategy.copy(LocatorUtils.property(locator, "additionalMasterSecurityGroups", sourceAdditionalMasterSecurityGroups), sourceAdditionalMasterSecurityGroups, (this.additionalMasterSecurityGroups!= null))); copy.additionalMasterSecurityGroups = null; if (copyAdditionalMasterSecurityGroups!= null) { copy.setAdditionalMasterSecurityGroups(copyAdditionalMasterSecurityGroups); } } else { if (additionalMasterSecurityGroupsShouldBeCopiedAndSet == Boolean.FALSE) { copy.additionalMasterSecurityGroups = null; } } } { Boolean additionalSlaveSecurityGroupsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.additionalSlaveSecurityGroups!= null)); if (additionalSlaveSecurityGroupsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceAdditionalSlaveSecurityGroups; sourceAdditionalSlaveSecurityGroups = ((this.additionalSlaveSecurityGroups!= null)?this.getAdditionalSlaveSecurityGroups():null); @SuppressWarnings("unchecked") List copyAdditionalSlaveSecurityGroups = ((List ) strategy.copy(LocatorUtils.property(locator, "additionalSlaveSecurityGroups", sourceAdditionalSlaveSecurityGroups), sourceAdditionalSlaveSecurityGroups, (this.additionalSlaveSecurityGroups!= null))); copy.additionalSlaveSecurityGroups = null; if (copyAdditionalSlaveSecurityGroups!= null) { copy.setAdditionalSlaveSecurityGroups(copyAdditionalSlaveSecurityGroups); } } else { if (additionalSlaveSecurityGroupsShouldBeCopiedAndSet == Boolean.FALSE) { copy.additionalSlaveSecurityGroups = null; } } } { Boolean securityConfigurationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.securityConfiguration!= null)); if (securityConfigurationShouldBeCopiedAndSet == Boolean.TRUE) { String sourceSecurityConfiguration; sourceSecurityConfiguration = this.getSecurityConfiguration(); String copySecurityConfiguration = ((String) strategy.copy(LocatorUtils.property(locator, "securityConfiguration", sourceSecurityConfiguration), sourceSecurityConfiguration, (this.securityConfiguration!= null))); copy.setSecurityConfiguration(copySecurityConfiguration); } else { if (securityConfigurationShouldBeCopiedAndSet == Boolean.FALSE) { copy.securityConfiguration = null; } } } { Boolean masterSecurityGroupShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.masterSecurityGroup!= null)); if (masterSecurityGroupShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMasterSecurityGroup; sourceMasterSecurityGroup = this.getMasterSecurityGroup(); String copyMasterSecurityGroup = ((String) strategy.copy(LocatorUtils.property(locator, "masterSecurityGroup", sourceMasterSecurityGroup), sourceMasterSecurityGroup, (this.masterSecurityGroup!= null))); copy.setMasterSecurityGroup(copyMasterSecurityGroup); } else { if (masterSecurityGroupShouldBeCopiedAndSet == Boolean.FALSE) { copy.masterSecurityGroup = null; } } } { Boolean slaveSecurityGroupShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.slaveSecurityGroup!= null)); if (slaveSecurityGroupShouldBeCopiedAndSet == Boolean.TRUE) { String sourceSlaveSecurityGroup; sourceSlaveSecurityGroup = this.getSlaveSecurityGroup(); String copySlaveSecurityGroup = ((String) strategy.copy(LocatorUtils.property(locator, "slaveSecurityGroup", sourceSlaveSecurityGroup), sourceSlaveSecurityGroup, (this.slaveSecurityGroup!= null))); copy.setSlaveSecurityGroup(copySlaveSecurityGroup); } else { if (slaveSecurityGroupShouldBeCopiedAndSet == Boolean.FALSE) { copy.slaveSecurityGroup = null; } } } { Boolean serviceAccessSecurityGroupShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.serviceAccessSecurityGroup!= null)); if (serviceAccessSecurityGroupShouldBeCopiedAndSet == Boolean.TRUE) { String sourceServiceAccessSecurityGroup; sourceServiceAccessSecurityGroup = this.getServiceAccessSecurityGroup(); String copyServiceAccessSecurityGroup = ((String) strategy.copy(LocatorUtils.property(locator, "serviceAccessSecurityGroup", sourceServiceAccessSecurityGroup), sourceServiceAccessSecurityGroup, (this.serviceAccessSecurityGroup!= null))); copy.setServiceAccessSecurityGroup(copyServiceAccessSecurityGroup); } else { if (serviceAccessSecurityGroupShouldBeCopiedAndSet == Boolean.FALSE) { copy.serviceAccessSecurityGroup = null; } } } { Boolean scaleDownBehaviorShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.scaleDownBehavior!= null)); if (scaleDownBehaviorShouldBeCopiedAndSet == Boolean.TRUE) { String sourceScaleDownBehavior; sourceScaleDownBehavior = this.getScaleDownBehavior(); String copyScaleDownBehavior = ((String) strategy.copy(LocatorUtils.property(locator, "scaleDownBehavior", sourceScaleDownBehavior), sourceScaleDownBehavior, (this.scaleDownBehavior!= null))); copy.setScaleDownBehavior(copyScaleDownBehavior); } else { if (scaleDownBehaviorShouldBeCopiedAndSet == Boolean.FALSE) { copy.scaleDownBehavior = null; } } } { Boolean kerberosAttributesShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.kerberosAttributes!= null)); if (kerberosAttributesShouldBeCopiedAndSet == Boolean.TRUE) { EmrClusterDefinitionKerberosAttributes sourceKerberosAttributes; sourceKerberosAttributes = this.getKerberosAttributes(); EmrClusterDefinitionKerberosAttributes copyKerberosAttributes = ((EmrClusterDefinitionKerberosAttributes) strategy.copy(LocatorUtils.property(locator, "kerberosAttributes", sourceKerberosAttributes), sourceKerberosAttributes, (this.kerberosAttributes!= null))); copy.setKerberosAttributes(copyKerberosAttributes); } else { if (kerberosAttributesShouldBeCopiedAndSet == Boolean.FALSE) { copy.kerberosAttributes = null; } } } } return draftCopy; } public Object createNewInstance() { return new EmrClusterDefinition(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy