Package com.oracle.bmc.blockchain.model
Class ScaleBlockchainPlatformDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.blockchain.model.ScaleBlockchainPlatformDetails.Builder
-
- Enclosing class:
- ScaleBlockchainPlatformDetails
public static class ScaleBlockchainPlatformDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleBlockchainPlatformDetails.Builder
addOsns(List<CreateOsnDetails> addOsns)
new OSNs to addScaleBlockchainPlatformDetails.Builder
addPeers(List<CreatePeerDetails> addPeers)
new Peers to addScaleBlockchainPlatformDetails.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 PeersScaleBlockchainPlatformDetails.Builder
removeOsns(List<String> removeOsns)
OSN id list to removeScaleBlockchainPlatformDetails.Builder
removePeers(List<String> removePeers)
Peer id list to removeScaleBlockchainPlatformDetails.Builder
removeReplicas(ReplicaDetails removeReplicas)
-
-
-
Method Detail
-
addOsns
public ScaleBlockchainPlatformDetails.Builder addOsns(List<CreateOsnDetails> addOsns)
new OSNs to add- Parameters:
addOsns
- the value to set- Returns:
- this builder
-
addReplicas
public ScaleBlockchainPlatformDetails.Builder addReplicas(ReplicaDetails addReplicas)
-
addPeers
public ScaleBlockchainPlatformDetails.Builder addPeers(List<CreatePeerDetails> addPeers)
new Peers to add- Parameters:
addPeers
- the value to set- Returns:
- this builder
-
addStorage
public ScaleBlockchainPlatformDetails.Builder addStorage(ScaleStorageDetails addStorage)
-
modifyPeers
public ScaleBlockchainPlatformDetails.Builder modifyPeers(List<ModifyPeerDetails> modifyPeers)
modify ocpu allocation to existing Peers- Parameters:
modifyPeers
- the value to set- Returns:
- this builder
-
removeReplicas
public ScaleBlockchainPlatformDetails.Builder removeReplicas(ReplicaDetails removeReplicas)
-
removeOsns
public ScaleBlockchainPlatformDetails.Builder removeOsns(List<String> removeOsns)
OSN id list to remove- Parameters:
removeOsns
- the value to set- Returns:
- this builder
-
removePeers
public ScaleBlockchainPlatformDetails.Builder removePeers(List<String> removePeers)
Peer id list to remove- Parameters:
removePeers
- the value to set- Returns:
- this builder
-
build
public ScaleBlockchainPlatformDetails build()
-
copy
public ScaleBlockchainPlatformDetails.Builder copy(ScaleBlockchainPlatformDetails model)
-
-