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.BuilderaddOsns(List<CreateOsnDetails> addOsns)new OSNs to addScaleBlockchainPlatformDetails.BuilderaddPeers(List<CreatePeerDetails> addPeers)new Peers to addScaleBlockchainPlatformDetails.BuilderaddReplicas(ReplicaDetails addReplicas)ScaleBlockchainPlatformDetails.BuilderaddStorage(ScaleStorageDetails addStorage)ScaleBlockchainPlatformDetailsbuild()ScaleBlockchainPlatformDetails.Buildercopy(ScaleBlockchainPlatformDetails model)ScaleBlockchainPlatformDetails.BuildermodifyPeers(List<ModifyPeerDetails> modifyPeers)modify ocpu allocation to existing PeersScaleBlockchainPlatformDetails.BuilderremoveOsns(List<String> removeOsns)OSN id list to removeScaleBlockchainPlatformDetails.BuilderremovePeers(List<String> removePeers)Peer id list to removeScaleBlockchainPlatformDetails.BuilderremoveReplicas(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)
-
-