Class AssignHSMCommand.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class AssignHSMCommand.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for AssignHSMCommand instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
category
public KeyValuePairList
context
public KeyValuePairList.Builder
contextBuilder
-
Method Summary
Modifier and Type Method Description String
getCategory()
Gets the value of the 'category' field. AssignHSMCommand.Builder
setCategory(String value)
Sets the value of the 'category' field. KeyValuePairList
getContext()
Gets the value of the 'context' field. AssignHSMCommand.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. AssignHSMCommand.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. AssignHSMCommand.Builder
clearCategory()
Clears the value of the 'category' 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 AssignHSMCommand.Builder
clearContext()
Clears the value of the 'context' field. AssignHSMCommand
build()
-
-
Method Detail
-
getCategory
String getCategory()
Gets the value of the 'category' field. The category, like TLS, LEDGER, etc., which needs assignment.
- Returns:
The value.
-
setCategory
AssignHSMCommand.Builder setCategory(String value)
Sets the value of the 'category' field. The category, like TLS, LEDGER, etc., which needs assignment.
- Parameters:
value
- The value of 'category'.- Returns:
This builder.
-
getContext
KeyValuePairList getContext()
Gets the value of the 'context' field. The optional key/value operation specific context
- Returns:
The value.
-
setContext
AssignHSMCommand.Builder setContext(KeyValuePairList value)
Sets the value of the 'context' field. The optional key/value operation specific context
- Parameters:
value
- The value of 'context'.- Returns:
This builder.
-
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
- Returns:
This builder.
-
setContextBuilder
AssignHSMCommand.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.- Returns:
This builder.
-
hasCategory
boolean hasCategory()
Checks whether the 'category' field has been set. The category, like TLS, LEDGER, etc., which needs assignment.
- Returns:
True if the 'category' field has been set, false otherwise.
-
clearCategory
AssignHSMCommand.Builder clearCategory()
Clears the value of the 'category' field. The category, like TLS, LEDGER, etc., which needs assignment.
- Returns:
This builder.
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. The optional key/value operation specific context
- Returns:
True if the 'context' field has been set, false otherwise.
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance The optional key/value operation specific context
- Returns:
True if the 'context' field has an active Builder instance
-
clearContext
AssignHSMCommand.Builder clearContext()
Clears the value of the 'context' field. The optional key/value operation specific context
- Returns:
This builder.
-
build
AssignHSMCommand build()
-
-
-
-