/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getCrossZoneLoadBalancing() != null) sb.append("CrossZoneLoadBalancing: ").append(getCrossZoneLoadBalancing()).append(","); if (getAccessLog() != null) sb.append("AccessLog: ").append(getAccessLog()).append(","); if (getConnectionDraining() != null) sb.append("ConnectionDraining: ").append(getConnectionDraining()).append(","); if (getConnectionSettings() != null) sb.append("ConnectionSettings: ").append(getConnectionSettings()).append(","); if (getAdditionalAttributes() != null) sb.append("AdditionalAttributes: ").append(getAdditionalAttributes()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCrossZoneLoadBalancing() == null) ? 0 : getCrossZoneLoadBalancing().hashCode()); hashCode = prime * hashCode + ((getAccessLog() == null) ? 0 : getAccessLog().hashCode()); hashCode = prime * hashCode + ((getConnectionDraining() == null) ? 0 : getConnectionDraining().hashCode()); hashCode = prime * hashCode + ((getConnectionSettings() == null) ? 0 : getConnectionSettings().hashCode()); hashCode = prime * hashCode + ((getAdditionalAttributes() == null) ? 0 : getAdditionalAttributes().hashCode()); return hashCode; }
if (other.getConnectionDraining() != null && other.getConnectionDraining().equals(this.getConnectionDraining()) == false) return false; if (other.getConnectionSettings() == null ^ this.getConnectionSettings() == null) return false; if (other.getConnectionSettings() != null && other.getConnectionSettings().equals(this.getConnectionSettings()) == false) return false; if (other.getAdditionalAttributes() == null ^ this.getAdditionalAttributes() == null)
/** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getCrossZoneLoadBalancing() != null) sb.append("CrossZoneLoadBalancing: " + getCrossZoneLoadBalancing() + ","); if (getAccessLog() != null) sb.append("AccessLog: " + getAccessLog() + ","); if (getConnectionDraining() != null) sb.append("ConnectionDraining: " + getConnectionDraining() + ","); if (getConnectionSettings() != null) sb.append("ConnectionSettings: " + getConnectionSettings() + ","); if (getAdditionalAttributes() != null) sb.append("AdditionalAttributes: " + getAdditionalAttributes()); sb.append("}"); return sb.toString(); }
ConnectionSettings connectionSettings = loadBalancerAttributes.getConnectionSettings(); if (connectionSettings != null) {
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCrossZoneLoadBalancing() == null) ? 0 : getCrossZoneLoadBalancing() .hashCode()); hashCode = prime * hashCode + ((getAccessLog() == null) ? 0 : getAccessLog().hashCode()); hashCode = prime * hashCode + ((getConnectionDraining() == null) ? 0 : getConnectionDraining().hashCode()); hashCode = prime * hashCode + ((getConnectionSettings() == null) ? 0 : getConnectionSettings().hashCode()); hashCode = prime * hashCode + ((getAdditionalAttributes() == null) ? 0 : getAdditionalAttributes().hashCode()); return hashCode; }
&& other.getConnectionDraining().equals(this.getConnectionDraining()) == false) return false; if (other.getConnectionSettings() == null ^ this.getConnectionSettings() == null) return false; if (other.getConnectionSettings() != null && other.getConnectionSettings().equals(this.getConnectionSettings()) == false) return false; if (other.getAdditionalAttributes() == null ^ this.getAdditionalAttributes() == null)
prefix + "."); if (_loadBalancerAttributes.getConnectionSettings() != null) { prefix = _prefix + "ConnectionSettings"; ConnectionSettings connectionSettings = _loadBalancerAttributes.getConnectionSettings(); ConnectionSettingsStaxMarshaller.getInstance().marshall(connectionSettings, request, prefix + ".");
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getCrossZoneLoadBalancing() != null) sb.append("CrossZoneLoadBalancing: ").append(getCrossZoneLoadBalancing()).append(","); if (getAccessLog() != null) sb.append("AccessLog: ").append(getAccessLog()).append(","); if (getConnectionDraining() != null) sb.append("ConnectionDraining: ").append(getConnectionDraining()).append(","); if (getConnectionSettings() != null) sb.append("ConnectionSettings: ").append(getConnectionSettings()).append(","); if (getAdditionalAttributes() != null) sb.append("AdditionalAttributes: ").append(getAdditionalAttributes()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCrossZoneLoadBalancing() == null) ? 0 : getCrossZoneLoadBalancing().hashCode()); hashCode = prime * hashCode + ((getAccessLog() == null) ? 0 : getAccessLog().hashCode()); hashCode = prime * hashCode + ((getConnectionDraining() == null) ? 0 : getConnectionDraining().hashCode()); hashCode = prime * hashCode + ((getConnectionSettings() == null) ? 0 : getConnectionSettings().hashCode()); hashCode = prime * hashCode + ((getAdditionalAttributes() == null) ? 0 : getAdditionalAttributes().hashCode()); return hashCode; }
if (other.getConnectionDraining() != null && other.getConnectionDraining().equals(this.getConnectionDraining()) == false) return false; if (other.getConnectionSettings() == null ^ this.getConnectionSettings() == null) return false; if (other.getConnectionSettings() != null && other.getConnectionSettings().equals(this.getConnectionSettings()) == false) return false; if (other.getAdditionalAttributes() == null ^ this.getAdditionalAttributes() == null)
ConnectionSettings connectionSettings = loadBalancerAttributes.getConnectionSettings(); if (connectionSettings != null) {