Class VirtualNodeUpgradeRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class VirtualNodeUpgradeRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for VirtualNodeUpgradeRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
virtualNodeShortHash
public String
cpiFileChecksum
public String
actor
public boolean
forceUpgrade
-
Method Summary
Modifier and Type Method Description String
getVirtualNodeShortHash()
Gets the value of the 'virtualNodeShortHash' field. VirtualNodeUpgradeRequest.Builder
setVirtualNodeShortHash(String value)
Sets the value of the 'virtualNodeShortHash' field. String
getCpiFileChecksum()
Gets the value of the 'cpiFileChecksum' field. VirtualNodeUpgradeRequest.Builder
setCpiFileChecksum(String value)
Sets the value of the 'cpiFileChecksum' field. String
getActor()
Gets the value of the 'actor' field. VirtualNodeUpgradeRequest.Builder
setActor(String value)
Sets the value of the 'actor' field. boolean
getForceUpgrade()
Gets the value of the 'forceUpgrade' field. VirtualNodeUpgradeRequest.Builder
setForceUpgrade(boolean value)
Sets the value of the 'forceUpgrade' field. boolean
hasVirtualNodeShortHash()
Checks whether the 'virtualNodeShortHash' field has been set. VirtualNodeUpgradeRequest.Builder
clearVirtualNodeShortHash()
Clears the value of the 'virtualNodeShortHash' field. boolean
hasCpiFileChecksum()
Checks whether the 'cpiFileChecksum' field has been set. VirtualNodeUpgradeRequest.Builder
clearCpiFileChecksum()
Clears the value of the 'cpiFileChecksum' field. boolean
hasActor()
Checks whether the 'actor' field has been set. VirtualNodeUpgradeRequest.Builder
clearActor()
Clears the value of the 'actor' field. boolean
hasForceUpgrade()
Checks whether the 'forceUpgrade' field has been set. VirtualNodeUpgradeRequest.Builder
clearForceUpgrade()
Clears the value of the 'forceUpgrade' field. VirtualNodeUpgradeRequest
build()
-
-
Method Detail
-
getVirtualNodeShortHash
String getVirtualNodeShortHash()
Gets the value of the 'virtualNodeShortHash' field. Short hash of the virtual node / holding identity.
-
setVirtualNodeShortHash
VirtualNodeUpgradeRequest.Builder setVirtualNodeShortHash(String value)
Sets the value of the 'virtualNodeShortHash' field. Short hash of the virtual node / holding identity.
- Parameters:
value
- The value of 'virtualNodeShortHash'.
-
getCpiFileChecksum
String getCpiFileChecksum()
Gets the value of the 'cpiFileChecksum' field. The checksum of the CPI file.
-
setCpiFileChecksum
VirtualNodeUpgradeRequest.Builder setCpiFileChecksum(String value)
Sets the value of the 'cpiFileChecksum' field. The checksum of the CPI file.
- Parameters:
value
- The value of 'cpiFileChecksum'.
-
getActor
String getActor()
Gets the value of the 'actor' field. ID of RPC user that requested the virtual node creation.
-
setActor
VirtualNodeUpgradeRequest.Builder setActor(String value)
Sets the value of the 'actor' field. ID of RPC user that requested the virtual node creation.
- Parameters:
value
- The value of 'actor'.
-
getForceUpgrade
boolean getForceUpgrade()
Gets the value of the 'forceUpgrade' field. Whether this upgrade should be forced regardless of OperationInProgress.
-
setForceUpgrade
VirtualNodeUpgradeRequest.Builder setForceUpgrade(boolean value)
Sets the value of the 'forceUpgrade' field. Whether this upgrade should be forced regardless of OperationInProgress.
- Parameters:
value
- The value of 'forceUpgrade'.
-
hasVirtualNodeShortHash
boolean hasVirtualNodeShortHash()
Checks whether the 'virtualNodeShortHash' field has been set. Short hash of the virtual node / holding identity.
-
clearVirtualNodeShortHash
VirtualNodeUpgradeRequest.Builder clearVirtualNodeShortHash()
Clears the value of the 'virtualNodeShortHash' field. Short hash of the virtual node / holding identity.
-
hasCpiFileChecksum
boolean hasCpiFileChecksum()
Checks whether the 'cpiFileChecksum' field has been set. The checksum of the CPI file.
-
clearCpiFileChecksum
VirtualNodeUpgradeRequest.Builder clearCpiFileChecksum()
Clears the value of the 'cpiFileChecksum' field. The checksum of the CPI file.
-
hasActor
boolean hasActor()
Checks whether the 'actor' field has been set. ID of RPC user that requested the virtual node creation.
-
clearActor
VirtualNodeUpgradeRequest.Builder clearActor()
Clears the value of the 'actor' field. ID of RPC user that requested the virtual node creation.
-
hasForceUpgrade
boolean hasForceUpgrade()
Checks whether the 'forceUpgrade' field has been set. Whether this upgrade should be forced regardless of OperationInProgress.
-
clearForceUpgrade
VirtualNodeUpgradeRequest.Builder clearForceUpgrade()
Clears the value of the 'forceUpgrade' field. Whether this upgrade should be forced regardless of OperationInProgress.
-
build
VirtualNodeUpgradeRequest build()
-
-
-
-