Class ScaleBlockchainPlatformDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.blockchain.model.ScaleBlockchainPlatformDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20191010") public final class ScaleBlockchainPlatformDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelScale operation details for a blockchain platform.The scale operation payload has multiple options - Add one or more Ordering Service Node (addOsns) - Add one or more Peers (addPeers) - Add more replicas of CA, Console and Rest Proxy (addReplicas) - Add more storage to the platform (addStorage) - Modify the CPU allocation for Peer Nodes (modifyPeers) - Remove one or more replicas of CA, Console and Rest Proxy (removeReplicas) - Remove one or more Ordering Service Node (removeOsns) - Remove one or more Peers (removePeers). The scale operation payload must have at least one of the above options. 
 Note: Objects should always be created or deserialized using theScaleBlockchainPlatformDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theScaleBlockchainPlatformDetails.Builder, which maintain a set of all explicitly set fields calledScaleBlockchainPlatformDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classScaleBlockchainPlatformDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description ScaleBlockchainPlatformDetails(List<CreateOsnDetails> addOsns, ReplicaDetails addReplicas, List<CreatePeerDetails> addPeers, ScaleStorageDetails addStorage, List<ModifyPeerDetails> modifyPeers, ReplicaDetails removeReplicas, List<String> removeOsns, List<String> removePeers)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScaleBlockchainPlatformDetails.Builderbuilder()Create a new builder.booleanequals(Object o)List<CreateOsnDetails>getAddOsns()new OSNs to addList<CreatePeerDetails>getAddPeers()new Peers to addReplicaDetailsgetAddReplicas()ScaleStorageDetailsgetAddStorage()List<ModifyPeerDetails>getModifyPeers()modify ocpu allocation to existing PeersList<String>getRemoveOsns()OSN id list to removeList<String>getRemovePeers()Peer id list to removeReplicaDetailsgetRemoveReplicas()inthashCode()ScaleBlockchainPlatformDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ScaleBlockchainPlatformDetails@Deprecated @ConstructorProperties({"addOsns","addReplicas","addPeers","addStorage","modifyPeers","removeReplicas","removeOsns","removePeers"}) public ScaleBlockchainPlatformDetails(List<CreateOsnDetails> addOsns, ReplicaDetails addReplicas, List<CreatePeerDetails> addPeers, ScaleStorageDetails addStorage, List<ModifyPeerDetails> modifyPeers, ReplicaDetails removeReplicas, List<String> removeOsns, List<String> removePeers) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ScaleBlockchainPlatformDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic ScaleBlockchainPlatformDetails.Builder toBuilder() 
 - 
getAddOsnspublic List<CreateOsnDetails> getAddOsns() new OSNs to add- Returns:
- the value
 
 - 
getAddReplicaspublic ReplicaDetails getAddReplicas() 
 - 
getAddPeerspublic List<CreatePeerDetails> getAddPeers() new Peers to add- Returns:
- the value
 
 - 
getAddStoragepublic ScaleStorageDetails getAddStorage() 
 - 
getModifyPeerspublic List<ModifyPeerDetails> getModifyPeers() modify ocpu allocation to existing Peers- Returns:
- the value
 
 - 
getRemoveReplicaspublic ReplicaDetails getRemoveReplicas() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-