Class SignFlowCommand.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class SignFlowCommand.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for SignFlowCommand instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ByteBuffer
publicKey
public CryptoSignatureSpec
signatureSpec
public CryptoSignatureSpec.Builder
signatureSpecBuilder
public ByteBuffer
bytes
public KeyValuePairList
context
public KeyValuePairList.Builder
contextBuilder
-
Method Summary
Modifier and Type Method Description ByteBuffer
getPublicKey()
Gets the value of the 'publicKey' field. SignFlowCommand.Builder
setPublicKey(ByteBuffer value)
Sets the value of the 'publicKey' field. CryptoSignatureSpec
getSignatureSpec()
Gets the value of the 'signatureSpec' field. SignFlowCommand.Builder
setSignatureSpec(CryptoSignatureSpec value)
Sets the value of the 'signatureSpec' field. CryptoSignatureSpec.Builder
getSignatureSpecBuilder()
Gets the Builder instance for the 'signatureSpec' field and creates one if it doesn't exist yet. SignFlowCommand.Builder
setSignatureSpecBuilder(CryptoSignatureSpec.Builder value)
Sets the Builder instance for the 'signatureSpec' field Overrides the default signature scheme, otherwise the default scheme is used ByteBuffer
getBytes()
Gets the value of the 'bytes' field. SignFlowCommand.Builder
setBytes(ByteBuffer value)
Sets the value of the 'bytes' field. KeyValuePairList
getContext()
Gets the value of the 'context' field. SignFlowCommand.Builder
setContext(KeyValuePairList value)
Sets the value of the 'context' field. KeyValuePairList.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. SignFlowCommand.Builder
setContextBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'context' field The optional key/value operation specific context. boolean
hasPublicKey()
Checks whether the 'publicKey' field has been set. SignFlowCommand.Builder
clearPublicKey()
Clears the value of the 'publicKey' field. boolean
hasSignatureSpec()
Checks whether the 'signatureSpec' field has been set. boolean
hasSignatureSpecBuilder()
Checks whether the 'signatureSpec' field has an active Builder instance Overrides the default signature scheme, otherwise the default scheme is used SignFlowCommand.Builder
clearSignatureSpec()
Clears the value of the 'signatureSpec' field. boolean
hasBytes()
Checks whether the 'bytes' field has been set. SignFlowCommand.Builder
clearBytes()
Clears the value of the 'bytes' field. boolean
hasContext()
Checks whether the 'context' field has been set. boolean
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance The optional key/value operation specific context. SignFlowCommand.Builder
clearContext()
Clears the value of the 'context' field. SignFlowCommand
build()
-
-
Method Detail
-
getPublicKey
ByteBuffer getPublicKey()
Gets the value of the 'publicKey' field. It's used to look up the matching private key information and sign the data
-
setPublicKey
SignFlowCommand.Builder setPublicKey(ByteBuffer value)
Sets the value of the 'publicKey' field. It's used to look up the matching private key information and sign the data
- Parameters:
value
- The value of 'publicKey'.
-
getSignatureSpec
CryptoSignatureSpec getSignatureSpec()
Gets the value of the 'signatureSpec' field. Overrides the default signature scheme, otherwise the default scheme is used
-
setSignatureSpec
SignFlowCommand.Builder setSignatureSpec(CryptoSignatureSpec value)
Sets the value of the 'signatureSpec' field. Overrides the default signature scheme, otherwise the default scheme is used
- Parameters:
value
- The value of 'signatureSpec'.
-
getSignatureSpecBuilder
CryptoSignatureSpec.Builder getSignatureSpecBuilder()
Gets the Builder instance for the 'signatureSpec' field and creates one if it doesn't exist yet. Overrides the default signature scheme, otherwise the default scheme is used
-
setSignatureSpecBuilder
SignFlowCommand.Builder setSignatureSpecBuilder(CryptoSignatureSpec.Builder value)
Sets the Builder instance for the 'signatureSpec' field Overrides the default signature scheme, otherwise the default scheme is used
- Parameters:
value
- The builder instance that must be set.
-
getBytes
ByteBuffer getBytes()
Gets the value of the 'bytes' field. The data to sign.
-
setBytes
SignFlowCommand.Builder setBytes(ByteBuffer value)
Sets the value of the 'bytes' field. The data to sign.
- Parameters:
value
- The value of 'bytes'.
-
getContext
KeyValuePairList getContext()
Gets the value of the 'context' field. The optional key/value operation specific context.
-
setContext
SignFlowCommand.Builder setContext(KeyValuePairList value)
Sets the value of the 'context' field. The optional key/value operation specific context.
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
KeyValuePairList.Builder getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. The optional key/value operation specific context.
-
setContextBuilder
SignFlowCommand.Builder setContextBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'context' field The optional key/value operation specific context.
- Parameters:
value
- The builder instance that must be set.
-
hasPublicKey
boolean hasPublicKey()
Checks whether the 'publicKey' field has been set. It's used to look up the matching private key information and sign the data
-
clearPublicKey
SignFlowCommand.Builder clearPublicKey()
Clears the value of the 'publicKey' field. It's used to look up the matching private key information and sign the data
-
hasSignatureSpec
boolean hasSignatureSpec()
Checks whether the 'signatureSpec' field has been set. Overrides the default signature scheme, otherwise the default scheme is used
-
hasSignatureSpecBuilder
boolean hasSignatureSpecBuilder()
Checks whether the 'signatureSpec' field has an active Builder instance Overrides the default signature scheme, otherwise the default scheme is used
-
clearSignatureSpec
SignFlowCommand.Builder clearSignatureSpec()
Clears the value of the 'signatureSpec' field. Overrides the default signature scheme, otherwise the default scheme is used
-
hasBytes
boolean hasBytes()
Checks whether the 'bytes' field has been set. The data to sign.
-
clearBytes
SignFlowCommand.Builder clearBytes()
Clears the value of the 'bytes' field. The data to sign.
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. The optional key/value operation specific context.
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance The optional key/value operation specific context.
-
clearContext
SignFlowCommand.Builder clearContext()
Clears the value of the 'context' field. The optional key/value operation specific context.
-
build
SignFlowCommand build()
-
-
-
-