@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getShardLimit() == null) ? 0 : getShardLimit().hashCode()); hashCode = prime * hashCode + ((getOpenShardCount() == null) ? 0 : getOpenShardCount().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeLimitsResult == false) return false; DescribeLimitsResult other = (DescribeLimitsResult) obj; if (other.getShardLimit() == null ^ this.getShardLimit() == null) return false; if (other.getShardLimit() != null && other.getShardLimit().equals(this.getShardLimit()) == false) return false; if (other.getOpenShardCount() == null ^ this.getOpenShardCount() == null) return false; if (other.getOpenShardCount() != null && other.getOpenShardCount().equals(this.getOpenShardCount()) == false) return false; return true; }
/** * 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 (getShardLimit() != null) sb.append("ShardLimit: ").append(getShardLimit()).append(","); if (getOpenShardCount() != null) sb.append("OpenShardCount: ").append(getOpenShardCount()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getShardLimit() == null) ? 0 : getShardLimit().hashCode()); hashCode = prime * hashCode + ((getOpenShardCount() == null) ? 0 : getOpenShardCount().hashCode()); return hashCode; }
/** * 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 (getShardLimit() != null) sb.append("ShardLimit: " + getShardLimit() + ","); if (getOpenShardCount() != null) sb.append("OpenShardCount: " + getOpenShardCount()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeLimitsResult == false) return false; DescribeLimitsResult other = (DescribeLimitsResult) obj; if (other.getShardLimit() == null ^ this.getShardLimit() == null) return false; if (other.getShardLimit() != null && other.getShardLimit().equals(this.getShardLimit()) == false) return false; if (other.getOpenShardCount() == null ^ this.getOpenShardCount() == null) return false; if (other.getOpenShardCount() != null && other.getOpenShardCount().equals(this.getOpenShardCount()) == false) return false; return true; } }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getShardLimit() == null) ? 0 : getShardLimit().hashCode()); hashCode = prime * hashCode + ((getOpenShardCount() == null) ? 0 : getOpenShardCount().hashCode()); return hashCode; }
/** * 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 (getShardLimit() != null) sb.append("ShardLimit: ").append(getShardLimit()).append(","); if (getOpenShardCount() != null) sb.append("OpenShardCount: ").append(getOpenShardCount()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeLimitsResult == false) return false; DescribeLimitsResult other = (DescribeLimitsResult) obj; if (other.getShardLimit() == null ^ this.getShardLimit() == null) return false; if (other.getShardLimit() != null && other.getShardLimit().equals(this.getShardLimit()) == false) return false; if (other.getOpenShardCount() == null ^ this.getOpenShardCount() == null) return false; if (other.getOpenShardCount() != null && other.getOpenShardCount().equals(this.getOpenShardCount()) == false) return false; return true; }