public static class PeerSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PeerSummary |
build() |
PeerSummary.Builder |
copy(PeerSummary model) |
PeerSummary.Builder |
lifecycleState(Peer.LifecycleState lifecycleState)
The current state of the peer.
|
PeerSummary.Builder |
peerKey(String peerKey)
Peer identifier
|
public PeerSummary.Builder peerKey(String peerKey)
Peer identifier
peerKey
- the value to setpublic PeerSummary.Builder lifecycleState(Peer.LifecycleState lifecycleState)
The current state of the peer.
lifecycleState
- the value to setpublic PeerSummary build()
public PeerSummary.Builder copy(PeerSummary model)
Copyright © 2016–2024. All rights reserved.