public static class ScaleBlockchainPlatformDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScaleBlockchainPlatformDetails.Builder |
addOsns(List<CreateOsnDetails> addOsns)
new OSNs to add
|
ScaleBlockchainPlatformDetails.Builder |
addPeers(List<CreatePeerDetails> addPeers)
new Peers to add
|
ScaleBlockchainPlatformDetails.Builder |
addReplicas(ReplicaDetails addReplicas) |
ScaleBlockchainPlatformDetails.Builder |
addStorage(ScaleStorageDetails addStorage) |
ScaleBlockchainPlatformDetails |
build() |
ScaleBlockchainPlatformDetails.Builder |
copy(ScaleBlockchainPlatformDetails model) |
ScaleBlockchainPlatformDetails.Builder |
modifyPeers(List<ModifyPeerDetails> modifyPeers)
modify ocpu allocation to existing Peers
|
ScaleBlockchainPlatformDetails.Builder |
removeOsns(List<String> removeOsns)
OSN id list to remove
|
ScaleBlockchainPlatformDetails.Builder |
removePeers(List<String> removePeers)
Peer id list to remove
|
ScaleBlockchainPlatformDetails.Builder |
removeReplicas(ReplicaDetails removeReplicas) |
public ScaleBlockchainPlatformDetails.Builder addOsns(List<CreateOsnDetails> addOsns)
new OSNs to add
addOsns
- the value to setpublic ScaleBlockchainPlatformDetails.Builder addReplicas(ReplicaDetails addReplicas)
public ScaleBlockchainPlatformDetails.Builder addPeers(List<CreatePeerDetails> addPeers)
new Peers to add
addPeers
- the value to setpublic ScaleBlockchainPlatformDetails.Builder addStorage(ScaleStorageDetails addStorage)
public ScaleBlockchainPlatformDetails.Builder modifyPeers(List<ModifyPeerDetails> modifyPeers)
modify ocpu allocation to existing Peers
modifyPeers
- the value to setpublic ScaleBlockchainPlatformDetails.Builder removeReplicas(ReplicaDetails removeReplicas)
public ScaleBlockchainPlatformDetails.Builder removeOsns(List<String> removeOsns)
OSN id list to remove
removeOsns
- the value to setpublic ScaleBlockchainPlatformDetails.Builder removePeers(List<String> removePeers)
Peer id list to remove
removePeers
- the value to setpublic ScaleBlockchainPlatformDetails build()
public ScaleBlockchainPlatformDetails.Builder copy(ScaleBlockchainPlatformDetails model)
Copyright © 2016–2024. All rights reserved.