Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Peer.Builder |
ad(AvailabilityDomain.Ads ad)
Availability Domain of peer
|
Peer.Builder |
alias(String alias)
peer alias
|
Peer |
build() |
Peer.Builder |
copy(Peer model) |
Peer.Builder |
host(String host)
Host on which the Peer exists
|
Peer.Builder |
lifecycleState(Peer.LifecycleState lifecycleState)
The current state of the peer.
|
Peer.Builder |
ocpuAllocationParam(OcpuAllocationNumberParam ocpuAllocationParam) |
Peer.Builder |
peerKey(String peerKey)
peer identifier
|
Peer.Builder |
role(PeerRole.Role role)
Peer role
|
public Peer.Builder peerKey(String peerKey)
peer identifier
peerKey
- the value to setpublic Peer.Builder role(PeerRole.Role role)
Peer role
role
- the value to setpublic Peer.Builder alias(String alias)
peer alias
alias
- the value to setpublic Peer.Builder ocpuAllocationParam(OcpuAllocationNumberParam ocpuAllocationParam)
public Peer.Builder host(String host)
Host on which the Peer exists
host
- the value to setpublic Peer.Builder ad(AvailabilityDomain.Ads ad)
Availability Domain of peer
ad
- the value to setpublic Peer.Builder lifecycleState(Peer.LifecycleState lifecycleState)
The current state of the peer.
lifecycleState
- the value to setpublic Peer build()
public Peer.Builder copy(Peer model)
Copyright © 2016–2024. All rights reserved.