Class VirtualNodeCreateRequest
-
- All Implemented Interfaces:
-
java.io.Externalizable
,java.io.Serializable
,java.lang.Comparable
,org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.GenericRecord
,org.apache.avro.generic.IndexedRecord
,org.apache.avro.specific.SpecificRecord
public class VirtualNodeCreateRequest extends SpecificRecordBase implements SpecificRecord
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
VirtualNodeCreateRequest.Builder
RecordBuilder for VirtualNodeCreateRequest instances.
-
Field Summary
Fields Modifier and Type Field Description public final static Schema
SCHEMA$
public HoldingIdentity
holdingId
public String
cpiFileChecksum
public String
vaultDdlConnection
public String
vaultDmlConnection
public String
cryptoDdlConnection
public String
cryptoDmlConnection
public String
uniquenessDdlConnection
public String
uniquenessDmlConnection
public String
updateActor
-
Constructor Summary
Constructors Constructor Description VirtualNodeCreateRequest()
Default constructor. VirtualNodeCreateRequest(HoldingIdentity holdingId, String cpiFileChecksum, String vaultDdlConnection, String vaultDmlConnection, String cryptoDdlConnection, String cryptoDmlConnection, String uniquenessDdlConnection, String uniquenessDmlConnection, String updateActor)
All-args constructor.
-
Method Summary
Modifier and Type Method Description HoldingIdentity
getHoldingId()
Gets the value of the 'holdingId' field. void
setHoldingId(HoldingIdentity value)
Sets the value of the 'holdingId' field. String
getCpiFileChecksum()
Gets the value of the 'cpiFileChecksum' field. void
setCpiFileChecksum(String value)
Sets the value of the 'cpiFileChecksum' field. String
getVaultDdlConnection()
Gets the value of the 'vaultDdlConnection' field. void
setVaultDdlConnection(String value)
Sets the value of the 'vaultDdlConnection' field. String
getVaultDmlConnection()
Gets the value of the 'vaultDmlConnection' field. void
setVaultDmlConnection(String value)
Sets the value of the 'vaultDmlConnection' field. String
getCryptoDdlConnection()
Gets the value of the 'cryptoDdlConnection' field. void
setCryptoDdlConnection(String value)
Sets the value of the 'cryptoDdlConnection' field. String
getCryptoDmlConnection()
Gets the value of the 'cryptoDmlConnection' field. void
setCryptoDmlConnection(String value)
Sets the value of the 'cryptoDmlConnection' field. String
getUniquenessDdlConnection()
Gets the value of the 'uniquenessDdlConnection' field. void
setUniquenessDdlConnection(String value)
Sets the value of the 'uniquenessDdlConnection' field. String
getUniquenessDmlConnection()
Gets the value of the 'uniquenessDmlConnection' field. void
setUniquenessDmlConnection(String value)
Sets the value of the 'uniquenessDmlConnection' field. String
getUpdateActor()
Gets the value of the 'updateActor' field. void
setUpdateActor(String value)
Sets the value of the 'updateActor' field. static Schema
getClassSchema()
static BinaryMessageEncoder<VirtualNodeCreateRequest>
getEncoder()
Return the BinaryMessageEncoder instance used by this class. static BinaryMessageDecoder<VirtualNodeCreateRequest>
getDecoder()
Return the BinaryMessageDecoder instance used by this class. static BinaryMessageDecoder<VirtualNodeCreateRequest>
createDecoder(SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore. ByteBuffer
toByteBuffer()
Serializes this VirtualNodeCreateRequest to a ByteBuffer. static VirtualNodeCreateRequest
fromByteBuffer(ByteBuffer b)
Deserializes a VirtualNodeCreateRequest from a ByteBuffer. SpecificData
getSpecificData()
Schema
getSchema()
Object
get(int field$)
void
put(int field$, Object value$)
static VirtualNodeCreateRequest.Builder
newBuilder()
Creates a new VirtualNodeCreateRequest RecordBuilder. static VirtualNodeCreateRequest.Builder
newBuilder(VirtualNodeCreateRequest.Builder other)
Creates a new VirtualNodeCreateRequest RecordBuilder by copying an existing Builder. static VirtualNodeCreateRequest.Builder
newBuilder(VirtualNodeCreateRequest other)
Creates a new VirtualNodeCreateRequest RecordBuilder by copying an existing VirtualNodeCreateRequest instance. void
writeExternal(ObjectOutput out)
void
readExternal(ObjectInput in)
void
customEncode(Encoder out)
void
customDecode(ResolvingDecoder in)
-
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, getConversion, hashCode, toString
-
Methods inherited from class org.apache.avro.generic.GenericRecord
hasField
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
VirtualNodeCreateRequest
VirtualNodeCreateRequest()
Default constructor.
-
VirtualNodeCreateRequest
VirtualNodeCreateRequest(HoldingIdentity holdingId, String cpiFileChecksum, String vaultDdlConnection, String vaultDmlConnection, String cryptoDdlConnection, String cryptoDmlConnection, String uniquenessDdlConnection, String uniquenessDmlConnection, String updateActor)
All-args constructor.- Parameters:
holdingId
- The new value for holdingIdcpiFileChecksum
- The checksum of the CPI file.vaultDdlConnection
- Connection details for virtual node Vault DB to be used for DDL operations.vaultDmlConnection
- Connection details for virtual node Vault DB to be used for DML operations.cryptoDdlConnection
- Connection details for virtual node Crypto DB to be used for DDL operations.cryptoDmlConnection
- Connection details for virtual node Crypto DB to be used for DML operations.uniquenessDdlConnection
- Connection details for virtual node Uniqueness DB to be used for DDL operations.uniquenessDmlConnection
- Connection details for virtual node Uniqueness DB to be used for DML operations.updateActor
- ID of RPC user that requested the virtual node creation.
-
-
Method Detail
-
getHoldingId
HoldingIdentity getHoldingId()
Gets the value of the 'holdingId' field.
-
setHoldingId
void setHoldingId(HoldingIdentity value)
Sets the value of the 'holdingId' field.
- Parameters:
value
- the value to set.
-
getCpiFileChecksum
String getCpiFileChecksum()
Gets the value of the 'cpiFileChecksum' field.
-
setCpiFileChecksum
void setCpiFileChecksum(String value)
Sets the value of the 'cpiFileChecksum' field. The checksum of the CPI file.
- Parameters:
value
- the value to set.
-
getVaultDdlConnection
String getVaultDdlConnection()
Gets the value of the 'vaultDdlConnection' field.
-
setVaultDdlConnection
void setVaultDdlConnection(String value)
Sets the value of the 'vaultDdlConnection' field. Connection details for virtual node Vault DB to be used for DDL operations. If null is passed for both vault connections, cluster DB will be used.
- Parameters:
value
- the value to set.
-
getVaultDmlConnection
String getVaultDmlConnection()
Gets the value of the 'vaultDmlConnection' field.
-
setVaultDmlConnection
void setVaultDmlConnection(String value)
Sets the value of the 'vaultDmlConnection' field. Connection details for virtual node Vault DB to be used for DML operations. If null is passed for both vault connections, cluster DB will be used.
- Parameters:
value
- the value to set.
-
getCryptoDdlConnection
String getCryptoDdlConnection()
Gets the value of the 'cryptoDdlConnection' field.
-
setCryptoDdlConnection
void setCryptoDdlConnection(String value)
Sets the value of the 'cryptoDdlConnection' field. Connection details for virtual node Crypto DB to be used for DDL operations. If null is passed for both crypto connections, cluster DB will be used.
- Parameters:
value
- the value to set.
-
getCryptoDmlConnection
String getCryptoDmlConnection()
Gets the value of the 'cryptoDmlConnection' field.
-
setCryptoDmlConnection
void setCryptoDmlConnection(String value)
Sets the value of the 'cryptoDmlConnection' field. Connection details for virtual node Crypto DB to be used for DML operations. If null is passed for both crypto connections, cluster DB will be used.
- Parameters:
value
- the value to set.
-
getUniquenessDdlConnection
String getUniquenessDdlConnection()
Gets the value of the 'uniquenessDdlConnection' field.
-
setUniquenessDdlConnection
void setUniquenessDdlConnection(String value)
Sets the value of the 'uniquenessDdlConnection' field. Connection details for virtual node Uniqueness DB to be used for DDL operations. If null is passed for both uniqueness connections, cluster DB will be used.
- Parameters:
value
- the value to set.
-
getUniquenessDmlConnection
String getUniquenessDmlConnection()
Gets the value of the 'uniquenessDmlConnection' field.
-
setUniquenessDmlConnection
void setUniquenessDmlConnection(String value)
Sets the value of the 'uniquenessDmlConnection' field. Connection details for virtual node Uniqueness DB to be used for DML operations. If null is passed for both uniqueness connections, cluster DB will be used.
- Parameters:
value
- the value to set.
-
getUpdateActor
String getUpdateActor()
Gets the value of the 'updateActor' field.
-
setUpdateActor
void setUpdateActor(String value)
Sets the value of the 'updateActor' field. ID of RPC user that requested the virtual node creation.
- Parameters:
value
- the value to set.
-
getClassSchema
static Schema getClassSchema()
-
getEncoder
static BinaryMessageEncoder<VirtualNodeCreateRequest> getEncoder()
Return the BinaryMessageEncoder instance used by this class.
-
getDecoder
static BinaryMessageDecoder<VirtualNodeCreateRequest> getDecoder()
Return the BinaryMessageDecoder instance used by this class.
-
createDecoder
static BinaryMessageDecoder<VirtualNodeCreateRequest> createDecoder(SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore.
- Parameters:
resolver
- a SchemaStore used to find schemas by fingerprint
-
toByteBuffer
ByteBuffer toByteBuffer()
Serializes this VirtualNodeCreateRequest to a ByteBuffer.
-
fromByteBuffer
static VirtualNodeCreateRequest fromByteBuffer(ByteBuffer b)
Deserializes a VirtualNodeCreateRequest from a ByteBuffer.
- Parameters:
b
- a byte buffer holding serialized data for an instance of this class
-
getSpecificData
SpecificData getSpecificData()
-
getSchema
Schema getSchema()
-
newBuilder
static VirtualNodeCreateRequest.Builder newBuilder()
Creates a new VirtualNodeCreateRequest RecordBuilder.
-
newBuilder
static VirtualNodeCreateRequest.Builder newBuilder(VirtualNodeCreateRequest.Builder other)
Creates a new VirtualNodeCreateRequest RecordBuilder by copying an existing Builder.
- Parameters:
other
- The existing builder to copy.
-
newBuilder
static VirtualNodeCreateRequest.Builder newBuilder(VirtualNodeCreateRequest other)
Creates a new VirtualNodeCreateRequest RecordBuilder by copying an existing VirtualNodeCreateRequest instance.
- Parameters:
other
- The existing instance to copy.
-
writeExternal
void writeExternal(ObjectOutput out)
-
readExternal
void readExternal(ObjectInput in)
-
customEncode
void customEncode(Encoder out)
-
customDecode
void customDecode(ResolvingDecoder in)
-
-
-
-