@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getToAddresses() == null) ? 0 : getToAddresses().hashCode()); hashCode = prime * hashCode + ((getCcAddresses() == null) ? 0 : getCcAddresses().hashCode()); hashCode = prime * hashCode + ((getBccAddresses() == null) ? 0 : getBccAddresses().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 (getToAddresses() != null) sb.append("ToAddresses: ").append(getToAddresses()).append(","); if (getCcAddresses() != null) sb.append("CcAddresses: ").append(getCcAddresses()).append(","); if (getBccAddresses() != null) sb.append("BccAddresses: ").append(getBccAddresses()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Destination == false) return false; Destination other = (Destination) obj; if (other.getToAddresses() == null ^ this.getToAddresses() == null) return false; if (other.getToAddresses() != null && other.getToAddresses().equals(this.getToAddresses()) == false) return false; if (other.getCcAddresses() == null ^ this.getCcAddresses() == null) return false; if (other.getCcAddresses() != null && other.getCcAddresses().equals(this.getCcAddresses()) == false) return false; if (other.getBccAddresses() == null ^ this.getBccAddresses() == null) return false; if (other.getBccAddresses() != null && other.getBccAddresses().equals(this.getBccAddresses()) == false) return false; return true; }
/** * <p> * The BCC: field(s) of the message. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param bccAddresses <p> * The BCC: field(s) of the message. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public Destination withBccAddresses(String... bccAddresses) { if (getBccAddresses() == null) { this.bccAddresses = new java.util.ArrayList<String>(bccAddresses.length); } for (String value : bccAddresses) { this.bccAddresses.add(value); } return this; }
if (!destination.getBccAddresses().isEmpty() || !((com.amazonaws.internal.SdkInternalList<String>) destination.getBccAddresses()).isAutoConstruct()) { com.amazonaws.internal.SdkInternalList<String> bccAddressesList = (com.amazonaws.internal.SdkInternalList<String>) destination .getBccAddresses(); int bccAddressesListIndex = 1;
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getToAddresses() == null) ? 0 : getToAddresses().hashCode()); hashCode = prime * hashCode + ((getCcAddresses() == null) ? 0 : getCcAddresses().hashCode()); hashCode = prime * hashCode + ((getBccAddresses() == null) ? 0 : getBccAddresses().hashCode()); return hashCode; }
if (!destination.getBccAddresses().isEmpty() || !((com.amazonaws.internal.SdkInternalList<String>) destination.getBccAddresses()).isAutoConstruct()) { com.amazonaws.internal.SdkInternalList<String> bccAddressesList = (com.amazonaws.internal.SdkInternalList<String>) destination .getBccAddresses(); int bccAddressesListIndex = 1;
/** * 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 (getToAddresses() != null) sb.append("ToAddresses: " + getToAddresses() + ","); if (getCcAddresses() != null) sb.append("CcAddresses: " + getCcAddresses() + ","); if (getBccAddresses() != null) sb.append("BccAddresses: " + getBccAddresses()); sb.append("}"); return sb.toString(); }
if (!destination.getBccAddresses().isEmpty() || !((com.amazonaws.internal.SdkInternalList<String>) destination.getBccAddresses()).isAutoConstruct()) { com.amazonaws.internal.SdkInternalList<String> bccAddressesList = (com.amazonaws.internal.SdkInternalList<String>) destination .getBccAddresses(); int bccAddressesListIndex = 1;
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Destination == false) return false; Destination other = (Destination) obj; if (other.getToAddresses() == null ^ this.getToAddresses() == null) return false; if (other.getToAddresses() != null && other.getToAddresses().equals(this.getToAddresses()) == false) return false; if (other.getCcAddresses() == null ^ this.getCcAddresses() == null) return false; if (other.getCcAddresses() != null && other.getCcAddresses().equals(this.getCcAddresses()) == false) return false; if (other.getBccAddresses() == null ^ this.getBccAddresses() == null) return false; if (other.getBccAddresses() != null && other.getBccAddresses().equals(this.getBccAddresses()) == false) return false; return true; } }
if (_destination.getBccAddresses() != null) { prefix = _prefix + "BccAddresses"; java.util.List<String> bccAddresses = _destination.getBccAddresses(); int bccAddressesIndex = 1; String bccAddressesPrefix = prefix;
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getToAddresses() == null) ? 0 : getToAddresses().hashCode()); hashCode = prime * hashCode + ((getCcAddresses() == null) ? 0 : getCcAddresses().hashCode()); hashCode = prime * hashCode + ((getBccAddresses() == null) ? 0 : getBccAddresses().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 (getToAddresses() != null) sb.append("ToAddresses: ").append(getToAddresses()).append(","); if (getCcAddresses() != null) sb.append("CcAddresses: ").append(getCcAddresses()).append(","); if (getBccAddresses() != null) sb.append("BccAddresses: ").append(getBccAddresses()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Destination == false) return false; Destination other = (Destination) obj; if (other.getToAddresses() == null ^ this.getToAddresses() == null) return false; if (other.getToAddresses() != null && other.getToAddresses().equals(this.getToAddresses()) == false) return false; if (other.getCcAddresses() == null ^ this.getCcAddresses() == null) return false; if (other.getCcAddresses() != null && other.getCcAddresses().equals(this.getCcAddresses()) == false) return false; if (other.getBccAddresses() == null ^ this.getBccAddresses() == null) return false; if (other.getBccAddresses() != null && other.getBccAddresses().equals(this.getBccAddresses()) == false) return false; return true; }
if (!destination.getBccAddresses().isEmpty() || !((com.amazonaws.internal.SdkInternalList<String>) destination.getBccAddresses()).isAutoConstruct()) { com.amazonaws.internal.SdkInternalList<String> bccAddressesList = (com.amazonaws.internal.SdkInternalList<String>) destination .getBccAddresses(); int bccAddressesListIndex = 1;
if (!destination.getBccAddresses().isEmpty() || !((com.amazonaws.internal.SdkInternalList<String>) destination.getBccAddresses()).isAutoConstruct()) { com.amazonaws.internal.SdkInternalList<String> bccAddressesList = (com.amazonaws.internal.SdkInternalList<String>) destination .getBccAddresses(); int bccAddressesListIndex = 1;
if (!destination.getBccAddresses().isEmpty() || !((com.amazonaws.internal.SdkInternalList<String>) destination.getBccAddresses()).isAutoConstruct()) { com.amazonaws.internal.SdkInternalList<String> bccAddressesList = (com.amazonaws.internal.SdkInternalList<String>) destination .getBccAddresses(); int bccAddressesListIndex = 1;