if (StringUtils.isNotBlank(emrClusterDefinition.getSshKeyPairName())) jobFlowInstancesConfig.setEc2KeyName(emrClusterDefinition.getSshKeyPairName());
if (StringUtils.isNotBlank(emrClusterDefinition.getSshKeyPairName())) jobFlowInstancesConfig.setEc2KeyName(emrClusterDefinition.getSshKeyPairName());
expectedEmrClusterDefinition.setServiceIamRole(emrClusterDefinitionOverride.getServiceIamRole()); emrClusterDefinitionOverride.setSshKeyPairName("test" + Math.random()); expectedEmrClusterDefinition.setSshKeyPairName(emrClusterDefinitionOverride.getSshKeyPairName()); emrClusterDefinitionOverride.setSubnetId(MockEc2OperationsImpl.SUBNET_1); expectedEmrClusterDefinition.setSubnetId(emrClusterDefinitionOverride.getSubnetId());
if (emrClusterDefinitionOverride.getSshKeyPairName() != null) emrClusterDefinition.setSshKeyPairName(emrClusterDefinitionOverride.getSshKeyPairName());
if (emrClusterDefinitionOverride.getSshKeyPairName() != null) emrClusterDefinition.setSshKeyPairName(emrClusterDefinitionOverride.getSshKeyPairName());
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;
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;
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;
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { theSshKeyPairName = this.getSshKeyPairName(); strategy.appendField(locator, this, "sshKeyPairName", buffer, theSshKeyPairName, (this.sshKeyPairName!= null));
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { theSshKeyPairName = this.getSshKeyPairName(); strategy.appendField(locator, this, "sshKeyPairName", buffer, theSshKeyPairName, (this.sshKeyPairName!= null));
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { theSshKeyPairName = this.getSshKeyPairName(); strategy.appendField(locator, this, "sshKeyPairName", buffer, theSshKeyPairName, (this.sshKeyPairName!= null));
theSshKeyPairName = this.getSshKeyPairName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sshKeyPairName", theSshKeyPairName), currentHashCode, theSshKeyPairName, (this.sshKeyPairName!= null));
theSshKeyPairName = this.getSshKeyPairName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sshKeyPairName", theSshKeyPairName), currentHashCode, theSshKeyPairName, (this.sshKeyPairName!= null));
theSshKeyPairName = this.getSshKeyPairName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sshKeyPairName", theSshKeyPairName), currentHashCode, theSshKeyPairName, (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);
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);
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);