@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTopicArn() == null) ? 0 : getTopicArn().hashCode()); hashCode = prime * hashCode + ((getEncoding() == null) ? 0 : getEncoding().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 (getTopicArn() != null) sb.append("TopicArn: ").append(getTopicArn()).append(","); if (getEncoding() != null) sb.append("Encoding: ").append(getEncoding()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SNSAction == false) return false; SNSAction other = (SNSAction) obj; if (other.getTopicArn() == null ^ this.getTopicArn() == null) return false; if (other.getTopicArn() != null && other.getTopicArn().equals(this.getTopicArn()) == false) return false; if (other.getEncoding() == null ^ this.getEncoding() == null) return false; if (other.getEncoding() != null && other.getEncoding().equals(this.getEncoding()) == false) return false; return true; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTopicArn() == null) ? 0 : getTopicArn().hashCode()); hashCode = prime * hashCode + ((getEncoding() == null) ? 0 : getEncoding().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 (getTopicArn() != null) sb.append("TopicArn: " + getTopicArn() + ","); if (getEncoding() != null) sb.append("Encoding: " + getEncoding()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SNSAction == false) return false; SNSAction other = (SNSAction) obj; if (other.getTopicArn() == null ^ this.getTopicArn() == null) return false; if (other.getTopicArn() != null && other.getTopicArn().equals(this.getTopicArn()) == false) return false; if (other.getEncoding() == null ^ this.getEncoding() == null) return false; if (other.getEncoding() != null && other.getEncoding().equals(this.getEncoding()) == false) return false; return true; } }
public void marshall(SNSAction _sNSAction, Request<?> request, String _prefix) { String prefix; if (_sNSAction.getTopicArn() != null) { prefix = _prefix + "TopicArn"; String topicArn = _sNSAction.getTopicArn(); request.addParameter(prefix, StringUtils.fromString(topicArn)); } if (_sNSAction.getEncoding() != null) { prefix = _prefix + "Encoding"; String encoding = _sNSAction.getEncoding(); request.addParameter(prefix, StringUtils.fromString(encoding)); } }
if (sNSAction != null) { if (sNSAction.getTopicArn() != null) { request.addParameter("Rule.Actions.member." + actionsListIndex + ".SNSAction.TopicArn", StringUtils.fromString(sNSAction.getTopicArn()));
if (sNSAction != null) { if (sNSAction.getTopicArn() != null) { request.addParameter("Rule.Actions.member." + actionsListIndex + ".SNSAction.TopicArn", StringUtils.fromString(sNSAction.getTopicArn()));
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTopicArn() == null) ? 0 : getTopicArn().hashCode()); hashCode = prime * hashCode + ((getEncoding() == null) ? 0 : getEncoding().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 (getTopicArn() != null) sb.append("TopicArn: ").append(getTopicArn()).append(","); if (getEncoding() != null) sb.append("Encoding: ").append(getEncoding()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SNSAction == false) return false; SNSAction other = (SNSAction) obj; if (other.getTopicArn() == null ^ this.getTopicArn() == null) return false; if (other.getTopicArn() != null && other.getTopicArn().equals(this.getTopicArn()) == false) return false; if (other.getEncoding() == null ^ this.getEncoding() == null) return false; if (other.getEncoding() != null && other.getEncoding().equals(this.getEncoding()) == false) return false; return true; }
if (sNSAction != null) { if (sNSAction.getTopicArn() != null) { request.addParameter("Rule.Actions.member." + actionsListIndex + ".SNSAction.TopicArn", StringUtils.fromString(sNSAction.getTopicArn()));
if (sNSAction != null) { if (sNSAction.getTopicArn() != null) { request.addParameter("Rule.Actions.member." + actionsListIndex + ".SNSAction.TopicArn", StringUtils.fromString(sNSAction.getTopicArn()));