Class GenerateFreshKeyRpcCommand.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class GenerateFreshKeyRpcCommand.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for GenerateFreshKeyRpcCommand instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
category
public String
externalId
public String
schemeCodeName
public KeyValuePairList
context
public KeyValuePairList.Builder
contextBuilder
-
Method Summary
Modifier and Type Method Description String
getCategory()
Gets the value of the 'category' field. GenerateFreshKeyRpcCommand.Builder
setCategory(String value)
Sets the value of the 'category' field. String
getExternalId()
Gets the value of the 'externalId' field. GenerateFreshKeyRpcCommand.Builder
setExternalId(String value)
Sets the value of the 'externalId' field. String
getSchemeCodeName()
Gets the value of the 'schemeCodeName' field. GenerateFreshKeyRpcCommand.Builder
setSchemeCodeName(String value)
Sets the value of the 'schemeCodeName' field. KeyValuePairList
getContext()
Gets the value of the 'context' field. GenerateFreshKeyRpcCommand.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. GenerateFreshKeyRpcCommand.Builder
setContextBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'context' field The optional key/value operation specific context. boolean
hasCategory()
Checks whether the 'category' field has been set. GenerateFreshKeyRpcCommand.Builder
clearCategory()
Clears the value of the 'category' field. boolean
hasExternalId()
Checks whether the 'externalId' field has been set. GenerateFreshKeyRpcCommand.Builder
clearExternalId()
Clears the value of the 'externalId' field. boolean
hasSchemeCodeName()
Checks whether the 'schemeCodeName' field has been set. GenerateFreshKeyRpcCommand.Builder
clearSchemeCodeName()
Clears the value of the 'schemeCodeName' 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. GenerateFreshKeyRpcCommand.Builder
clearContext()
Clears the value of the 'context' field. GenerateFreshKeyRpcCommand
build()
-
-
Method Detail
-
getCategory
String getCategory()
Gets the value of the 'category' field. The category, like CI, ACCOUNTS, etc., which needs assignment.
-
setCategory
GenerateFreshKeyRpcCommand.Builder setCategory(String value)
Sets the value of the 'category' field. The category, like CI, ACCOUNTS, etc., which needs assignment.
- Parameters:
value
- The value of 'category'.
-
getExternalId
String getExternalId()
Gets the value of the 'externalId' field. If provided then the key will be associated with that id.
-
setExternalId
GenerateFreshKeyRpcCommand.Builder setExternalId(String value)
Sets the value of the 'externalId' field. If provided then the key will be associated with that id.
- Parameters:
value
- The value of 'externalId'.
-
getSchemeCodeName
String getSchemeCodeName()
Gets the value of the 'schemeCodeName' field. The key's scheme describing which type of the key to generate.
-
setSchemeCodeName
GenerateFreshKeyRpcCommand.Builder setSchemeCodeName(String value)
Sets the value of the 'schemeCodeName' field. The key's scheme describing which type of the key to generate.
- Parameters:
value
- The value of 'schemeCodeName'.
-
getContext
KeyValuePairList getContext()
Gets the value of the 'context' field. The optional key/value operation specific context.
-
setContext
GenerateFreshKeyRpcCommand.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
GenerateFreshKeyRpcCommand.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.
-
hasCategory
boolean hasCategory()
Checks whether the 'category' field has been set. The category, like CI, ACCOUNTS, etc., which needs assignment.
-
clearCategory
GenerateFreshKeyRpcCommand.Builder clearCategory()
Clears the value of the 'category' field. The category, like CI, ACCOUNTS, etc., which needs assignment.
-
hasExternalId
boolean hasExternalId()
Checks whether the 'externalId' field has been set. If provided then the key will be associated with that id.
-
clearExternalId
GenerateFreshKeyRpcCommand.Builder clearExternalId()
Clears the value of the 'externalId' field. If provided then the key will be associated with that id.
-
hasSchemeCodeName
boolean hasSchemeCodeName()
Checks whether the 'schemeCodeName' field has been set. The key's scheme describing which type of the key to generate.
-
clearSchemeCodeName
GenerateFreshKeyRpcCommand.Builder clearSchemeCodeName()
Clears the value of the 'schemeCodeName' field. The key's scheme describing which type of the key to generate.
-
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
GenerateFreshKeyRpcCommand.Builder clearContext()
Clears the value of the 'context' field. The optional key/value operation specific context.
-
build
GenerateFreshKeyRpcCommand build()
-
-
-
-