if (getLoadBalancerNames() != null) sb.append("LoadBalancerNames: ").append(getLoadBalancerNames()).append(","); if (getTargetGroupARNs() != null) sb.append("TargetGroupARNs: ").append(getTargetGroupARNs()).append(","); if (getHealthCheckType() != null) sb.append("HealthCheckType: ").append(getHealthCheckType()).append(",");
hashCode = prime * hashCode + ((getAvailabilityZones() == null) ? 0 : getAvailabilityZones().hashCode()); hashCode = prime * hashCode + ((getLoadBalancerNames() == null) ? 0 : getLoadBalancerNames().hashCode()); hashCode = prime * hashCode + ((getTargetGroupARNs() == null) ? 0 : getTargetGroupARNs().hashCode()); hashCode = prime * hashCode + ((getHealthCheckType() == null) ? 0 : getHealthCheckType().hashCode()); hashCode = prime * hashCode + ((getHealthCheckGracePeriod() == null) ? 0 : getHealthCheckGracePeriod().hashCode());
if (other.getLoadBalancerNames() != null && other.getLoadBalancerNames().equals(this.getLoadBalancerNames()) == false) return false; if (other.getTargetGroupARNs() == null ^ this.getTargetGroupARNs() == null) return false; if (other.getTargetGroupARNs() != null && other.getTargetGroupARNs().equals(this.getTargetGroupARNs()) == false) return false; if (other.getHealthCheckType() == null ^ this.getHealthCheckType() == null)
/** * <p> * The Amazon Resource Names (ARN) of the target groups for your load * balancer. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param targetGroupARNs <p> * The Amazon Resource Names (ARN) of the target groups for your * load balancer. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public AutoScalingGroup withTargetGroupARNs(String... targetGroupARNs) { if (getTargetGroupARNs() == null) { this.targetGroupARNs = new java.util.ArrayList<String>(targetGroupARNs.length); } for (String value : targetGroupARNs) { this.targetGroupARNs.add(value); } return this; }
if (getLoadBalancerNames() != null) sb.append("LoadBalancerNames: " + getLoadBalancerNames() + ","); if (getTargetGroupARNs() != null) sb.append("TargetGroupARNs: " + getTargetGroupARNs() + ","); if (getHealthCheckType() != null) sb.append("HealthCheckType: " + getHealthCheckType() + ",");
+ ((getLoadBalancerNames() == null) ? 0 : getLoadBalancerNames().hashCode()); hashCode = prime * hashCode + ((getTargetGroupARNs() == null) ? 0 : getTargetGroupARNs().hashCode()); hashCode = prime * hashCode + ((getHealthCheckType() == null) ? 0 : getHealthCheckType().hashCode());
&& other.getLoadBalancerNames().equals(this.getLoadBalancerNames()) == false) return false; if (other.getTargetGroupARNs() == null ^ this.getTargetGroupARNs() == null) return false; if (other.getTargetGroupARNs() != null && other.getTargetGroupARNs().equals(this.getTargetGroupARNs()) == false) return false; if (other.getHealthCheckType() == null ^ this.getHealthCheckType() == null)
if (_autoScalingGroup.getTargetGroupARNs() != null) { prefix = _prefix + "TargetGroupARNs"; java.util.List<String> targetGroupARNs = _autoScalingGroup.getTargetGroupARNs(); int targetGroupARNsIndex = 1; String targetGroupARNsPrefix = prefix;
if (!autoScalingGroup.getLoadBalancerNames().isEmpty() || !autoScalingGroup.getTargetGroupARNs().isEmpty()) { event.getTask().updateStatus( PHASE,