* The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal stream. *
*/ private String streamId; /** ** The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal stream. *
* * @param streamId * The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal stream. */ public void setStreamId(String streamId) { this.streamId = streamId; } /** ** The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal stream. *
* * @return The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal stream. */ public String getStreamId() { return this.streamId; } /** ** The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal stream. *
* * @param streamId * The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal stream. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamJournalToKinesisResult withStreamId(String streamId) { setStreamId(streamId); 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 (getStreamId() != null) sb.append("StreamId: ").append(getStreamId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StreamJournalToKinesisResult == false) return false; StreamJournalToKinesisResult other = (StreamJournalToKinesisResult) obj; if (other.getStreamId() == null ^ this.getStreamId() == null) return false; if (other.getStreamId() != null && other.getStreamId().equals(this.getStreamId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStreamId() == null) ? 0 : getStreamId().hashCode()); return hashCode; } @Override public StreamJournalToKinesisResult clone() { try { return (StreamJournalToKinesisResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }