* The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the * pipeline activity on each input sample message payload, encoded in base64.) *
*/ private java.util.List* In case the pipeline activity fails, the log message that is generated. *
*/ private String logResult; /** ** The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the * pipeline activity on each input sample message payload, encoded in base64.) *
* * @return The enriched or transformed sample message payloads as base64-encoded strings. (The results of running * the pipeline activity on each input sample message payload, encoded in base64.) */ public java.util.List* The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the * pipeline activity on each input sample message payload, encoded in base64.) *
* * @param payloads * The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the * pipeline activity on each input sample message payload, encoded in base64.) */ public void setPayloads(java.util.Collection* The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the * pipeline activity on each input sample message payload, encoded in base64.) *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPayloads(java.util.Collection)} or {@link #withPayloads(java.util.Collection)} if you want to override * the existing values. *
* * @param payloads * The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the * pipeline activity on each input sample message payload, encoded in base64.) * @return Returns a reference to this object so that method calls can be chained together. */ public RunPipelineActivityResult withPayloads(java.nio.ByteBuffer... payloads) { if (this.payloads == null) { setPayloads(new java.util.ArrayList* The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the * pipeline activity on each input sample message payload, encoded in base64.) *
* * @param payloads * The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the * pipeline activity on each input sample message payload, encoded in base64.) * @return Returns a reference to this object so that method calls can be chained together. */ public RunPipelineActivityResult withPayloads(java.util.Collection* In case the pipeline activity fails, the log message that is generated. *
* * @param logResult * In case the pipeline activity fails, the log message that is generated. */ public void setLogResult(String logResult) { this.logResult = logResult; } /** ** In case the pipeline activity fails, the log message that is generated. *
* * @return In case the pipeline activity fails, the log message that is generated. */ public String getLogResult() { return this.logResult; } /** ** In case the pipeline activity fails, the log message that is generated. *
* * @param logResult * In case the pipeline activity fails, the log message that is generated. * @return Returns a reference to this object so that method calls can be chained together. */ public RunPipelineActivityResult withLogResult(String logResult) { setLogResult(logResult); return this; } /** * 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 (getPayloads() != null) sb.append("Payloads: ").append(getPayloads()).append(","); if (getLogResult() != null) sb.append("LogResult: ").append(getLogResult()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof RunPipelineActivityResult == false) return false; RunPipelineActivityResult other = (RunPipelineActivityResult) obj; if (other.getPayloads() == null ^ this.getPayloads() == null) return false; if (other.getPayloads() != null && other.getPayloads().equals(this.getPayloads()) == false) return false; if (other.getLogResult() == null ^ this.getLogResult() == null) return false; if (other.getLogResult() != null && other.getLogResult().equals(this.getLogResult()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPayloads() == null) ? 0 : getPayloads().hashCode()); hashCode = prime * hashCode + ((getLogResult() == null) ? 0 : getLogResult().hashCode()); return hashCode; } @Override public RunPipelineActivityResult clone() { try { return (RunPipelineActivityResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }