/** * 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 (getRecipient() != null) sb.append("Recipient: ").append(getRecipient()).append(","); if (getRecipientArn() != null) sb.append("RecipientArn: ").append(getRecipientArn()).append(","); if (getBounceType() != null) sb.append("BounceType: ").append(getBounceType()).append(","); if (getRecipientDsnFields() != null) sb.append("RecipientDsnFields: ").append(getRecipientDsnFields()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRecipient() == null) ? 0 : getRecipient().hashCode()); hashCode = prime * hashCode + ((getRecipientArn() == null) ? 0 : getRecipientArn().hashCode()); hashCode = prime * hashCode + ((getBounceType() == null) ? 0 : getBounceType().hashCode()); hashCode = prime * hashCode + ((getRecipientDsnFields() == null) ? 0 : getRecipientDsnFields().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof BouncedRecipientInfo == false) return false; BouncedRecipientInfo other = (BouncedRecipientInfo) obj; if (other.getRecipient() == null ^ this.getRecipient() == null) return false; if (other.getRecipient() != null && other.getRecipient().equals(this.getRecipient()) == false) return false; if (other.getRecipientArn() == null ^ this.getRecipientArn() == null) return false; if (other.getRecipientArn() != null && other.getRecipientArn().equals(this.getRecipientArn()) == false) return false; if (other.getBounceType() == null ^ this.getBounceType() == null) return false; if (other.getBounceType() != null && other.getBounceType().equals(this.getBounceType()) == false) return false; if (other.getRecipientDsnFields() == null ^ this.getRecipientDsnFields() == null) return false; if (other.getRecipientDsnFields() != null && other.getRecipientDsnFields().equals(this.getRecipientDsnFields()) == false) return false; return true; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRecipient() == null) ? 0 : getRecipient().hashCode()); hashCode = prime * hashCode + ((getRecipientArn() == null) ? 0 : getRecipientArn().hashCode()); hashCode = prime * hashCode + ((getBounceType() == null) ? 0 : getBounceType().hashCode()); hashCode = prime * hashCode + ((getRecipientDsnFields() == null) ? 0 : getRecipientDsnFields().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 (getRecipient() != null) sb.append("Recipient: " + getRecipient() + ","); if (getRecipientArn() != null) sb.append("RecipientArn: " + getRecipientArn() + ","); if (getBounceType() != null) sb.append("BounceType: " + getBounceType() + ","); if (getRecipientDsnFields() != null) sb.append("RecipientDsnFields: " + getRecipientDsnFields()); sb.append("}"); return sb.toString(); }
&& other.getBounceType().equals(this.getBounceType()) == false) return false; if (other.getRecipientDsnFields() == null ^ this.getRecipientDsnFields() == null) return false; if (other.getRecipientDsnFields() != null && other.getRecipientDsnFields().equals(this.getRecipientDsnFields()) == false) return false; return true;
RecipientDsnFields recipientDsnFields = bouncedRecipientInfoListListValue.getRecipientDsnFields(); if (recipientDsnFields != null) {
public void marshall(BouncedRecipientInfo _bouncedRecipientInfo, Request<?> request, String _prefix) { String prefix; if (_bouncedRecipientInfo.getRecipient() != null) { prefix = _prefix + "Recipient"; String recipient = _bouncedRecipientInfo.getRecipient(); request.addParameter(prefix, StringUtils.fromString(recipient)); } if (_bouncedRecipientInfo.getRecipientArn() != null) { prefix = _prefix + "RecipientArn"; String recipientArn = _bouncedRecipientInfo.getRecipientArn(); request.addParameter(prefix, StringUtils.fromString(recipientArn)); } if (_bouncedRecipientInfo.getBounceType() != null) { prefix = _prefix + "BounceType"; String bounceType = _bouncedRecipientInfo.getBounceType(); request.addParameter(prefix, StringUtils.fromString(bounceType)); } if (_bouncedRecipientInfo.getRecipientDsnFields() != null) { prefix = _prefix + "RecipientDsnFields"; RecipientDsnFields recipientDsnFields = _bouncedRecipientInfo.getRecipientDsnFields(); RecipientDsnFieldsStaxMarshaller.getInstance().marshall(recipientDsnFields, 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 (getRecipient() != null) sb.append("Recipient: ").append(getRecipient()).append(","); if (getRecipientArn() != null) sb.append("RecipientArn: ").append(getRecipientArn()).append(","); if (getBounceType() != null) sb.append("BounceType: ").append(getBounceType()).append(","); if (getRecipientDsnFields() != null) sb.append("RecipientDsnFields: ").append(getRecipientDsnFields()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRecipient() == null) ? 0 : getRecipient().hashCode()); hashCode = prime * hashCode + ((getRecipientArn() == null) ? 0 : getRecipientArn().hashCode()); hashCode = prime * hashCode + ((getBounceType() == null) ? 0 : getBounceType().hashCode()); hashCode = prime * hashCode + ((getRecipientDsnFields() == null) ? 0 : getRecipientDsnFields().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof BouncedRecipientInfo == false) return false; BouncedRecipientInfo other = (BouncedRecipientInfo) obj; if (other.getRecipient() == null ^ this.getRecipient() == null) return false; if (other.getRecipient() != null && other.getRecipient().equals(this.getRecipient()) == false) return false; if (other.getRecipientArn() == null ^ this.getRecipientArn() == null) return false; if (other.getRecipientArn() != null && other.getRecipientArn().equals(this.getRecipientArn()) == false) return false; if (other.getBounceType() == null ^ this.getBounceType() == null) return false; if (other.getBounceType() != null && other.getBounceType().equals(this.getBounceType()) == false) return false; if (other.getRecipientDsnFields() == null ^ this.getRecipientDsnFields() == null) return false; if (other.getRecipientDsnFields() != null && other.getRecipientDsnFields().equals(this.getRecipientDsnFields()) == false) return false; return true; }
RecipientDsnFields recipientDsnFields = bouncedRecipientInfoListListValue.getRecipientDsnFields(); if (recipientDsnFields != null) {