Class PeerEntry.PeerEntryBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.peer.PeerEntry.PeerEntryBuilder
-
- Enclosing class:
- PeerEntry
public static class PeerEntry.PeerEntryBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PeerEntry.PeerEntryBuilder
address(java.lang.String address)
IP:PORTPeerEntry
build()
PeerEntry.PeerEntryBuilder
nodeId(java.lang.String nodeId)
node IDjava.lang.String
toString()
-
-
-
Method Detail
-
address
public PeerEntry.PeerEntryBuilder address(java.lang.String address)
IP:PORT- Returns:
this
.
-
nodeId
public PeerEntry.PeerEntryBuilder nodeId(java.lang.String nodeId)
node ID- Returns:
this
.
-
build
public PeerEntry build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-