if (getTerminationPolicies() != null) sb.append("TerminationPolicies: ").append(getTerminationPolicies()).append(","); if (getNewInstancesProtectedFromScaleIn() != null) sb.append("NewInstancesProtectedFromScaleIn: ").append(getNewInstancesProtectedFromScaleIn()).append(","); if (getServiceLinkedRoleARN() != null) sb.append("ServiceLinkedRoleARN: ").append(getServiceLinkedRoleARN());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getTerminationPolicies() == null) ? 0 : getTerminationPolicies().hashCode()); hashCode = prime * hashCode + ((getNewInstancesProtectedFromScaleIn() == null) ? 0 : getNewInstancesProtectedFromScaleIn().hashCode()); hashCode = prime * hashCode + ((getServiceLinkedRoleARN() == null) ? 0 : getServiceLinkedRoleARN().hashCode()); return hashCode;
if (other.getTerminationPolicies() != null && other.getTerminationPolicies().equals(this.getTerminationPolicies()) == false) return false; if (other.getNewInstancesProtectedFromScaleIn() == null ^ this.getNewInstancesProtectedFromScaleIn() == null) return false; if (other.getNewInstancesProtectedFromScaleIn() != null && other.getNewInstancesProtectedFromScaleIn().equals(this.getNewInstancesProtectedFromScaleIn()) == false) return false; if (other.getServiceLinkedRoleARN() == null ^ this.getServiceLinkedRoleARN() == null)
if (getTerminationPolicies() != null) sb.append("TerminationPolicies: " + getTerminationPolicies() + ","); if (getNewInstancesProtectedFromScaleIn() != null) sb.append("NewInstancesProtectedFromScaleIn: " + getNewInstancesProtectedFromScaleIn() + ","); if (getServiceLinkedRoleARN() != null)
hashCode = prime + ((getNewInstancesProtectedFromScaleIn() == null) ? 0 : getNewInstancesProtectedFromScaleIn().hashCode()); hashCode = prime * hashCode + ((getServiceLinkedRoleARN() == null) ? 0 : getServiceLinkedRoleARN().hashCode());
&& other.getTerminationPolicies().equals(this.getTerminationPolicies()) == false) return false; if (other.getNewInstancesProtectedFromScaleIn() == null ^ this.getNewInstancesProtectedFromScaleIn() == null) return false; if (other.getNewInstancesProtectedFromScaleIn() != null && other.getNewInstancesProtectedFromScaleIn().equals( this.getNewInstancesProtectedFromScaleIn()) == false) return false; if (other.getServiceLinkedRoleARN() == null ^ this.getServiceLinkedRoleARN() == null)
if (_autoScalingGroup.getNewInstancesProtectedFromScaleIn() != null) { prefix = _prefix + "NewInstancesProtectedFromScaleIn"; Boolean newInstancesProtectedFromScaleIn = _autoScalingGroup .getNewInstancesProtectedFromScaleIn(); request.addParameter(prefix, StringUtils.fromBoolean(newInstancesProtectedFromScaleIn));