/** * 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; }
return false; LoadBalancerAttributes other = (LoadBalancerAttributes) obj; if (other.getCrossZoneLoadBalancing() == null ^ this.getCrossZoneLoadBalancing() == null) return false; if (other.getCrossZoneLoadBalancing() != null && other.getCrossZoneLoadBalancing().equals(this.getCrossZoneLoadBalancing()) == false) return false; if (other.getAccessLog() == null ^ this.getAccessLog() == 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(); }
CrossZoneLoadBalancing crossZoneLoadBalancing = loadBalancerAttributes.getCrossZoneLoadBalancing(); if (crossZoneLoadBalancing != 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; }
LoadBalancerAttributes other = (LoadBalancerAttributes) obj; if (other.getCrossZoneLoadBalancing() == null ^ this.getCrossZoneLoadBalancing() == null) return false; if (other.getCrossZoneLoadBalancing() != null && other.getCrossZoneLoadBalancing().equals(this.getCrossZoneLoadBalancing()) == false) return false; if (other.getAccessLog() == null ^ this.getAccessLog() == null)
public void marshall(LoadBalancerAttributes _loadBalancerAttributes, Request<?> request, String _prefix) { String prefix; if (_loadBalancerAttributes.getCrossZoneLoadBalancing() != null) { prefix = _prefix + "CrossZoneLoadBalancing"; CrossZoneLoadBalancing crossZoneLoadBalancing = _loadBalancerAttributes .getCrossZoneLoadBalancing(); CrossZoneLoadBalancingStaxMarshaller.getInstance().marshall(crossZoneLoadBalancing, 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; }
return false; LoadBalancerAttributes other = (LoadBalancerAttributes) obj; if (other.getCrossZoneLoadBalancing() == null ^ this.getCrossZoneLoadBalancing() == null) return false; if (other.getCrossZoneLoadBalancing() != null && other.getCrossZoneLoadBalancing().equals(this.getCrossZoneLoadBalancing()) == false) return false; if (other.getAccessLog() == null ^ this.getAccessLog() == null)
CrossZoneLoadBalancing crossZoneLoadBalancing = loadBalancerAttributes.getCrossZoneLoadBalancing(); if (crossZoneLoadBalancing != null) {