public class Source
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Source.Builder |
static class |
io.nats.client.api.SourceBase.SourceBaseBuilder<T> |
| Modifier and Type | Method and Description |
|---|---|
static Source.Builder |
builder() |
static Source.Builder |
builder(Source source) |
boolean |
equals(java.lang.Object o) |
External |
getExternal() |
java.lang.String |
getFilterSubject() |
java.lang.String |
getName()
Get the name of the source.
|
java.lang.String |
getSourceName()
Get the name of the source.
|
long |
getStartSeq() |
java.time.ZonedDateTime |
getStartTime() |
int |
hashCode() |
java.lang.String |
toJson()
Returns a JSON representation of this mirror
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitserialize, toJsonValuepublic static Source.Builder builder()
public static Source.Builder builder(Source source)
public java.lang.String toJson()
toJson in interface JsonSerializablepublic java.lang.String getSourceName()
public java.lang.String getName()
public long getStartSeq()
public java.time.ZonedDateTime getStartTime()
public java.lang.String getFilterSubject()
public External getExternal()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object