Class GenerateKeyPairCommand.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class GenerateKeyPairCommand.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for GenerateKeyPairCommand instances.

    • Constructor Detail

    • Method Detail

      • getCategory

         String getCategory()

        Gets the value of the 'category' field. The category, like TLS, LEDGER, etc., which needs assignment.

      • getAlias

         String getAlias()

        Gets the value of the 'alias' field. The key alias, note that the actual key alias used by the correspond HSM will be generated by the system.

      • setAlias

         GenerateKeyPairCommand.Builder setAlias(String value)

        Sets the value of the 'alias' field. The key alias, note that the actual key alias used by the correspond HSM will be generated by the system.

        Parameters:
        value - The value of 'alias'.
      • getExternalId

         String getExternalId()

        Gets the value of the 'externalId' field. If provided then the key will be associated with that id.

      • getSchemeCodeName

         String getSchemeCodeName()

        Gets the value of the 'schemeCodeName' field. The key's scheme describing which type of the key to generate.

      • getContext

         KeyValuePairList getContext()

        Gets the value of the 'context' field. The optional key/value operation specific 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

      • hasCategory

         boolean hasCategory()

        Checks whether the 'category' field has been set. The category, like TLS, LEDGER, etc., which needs assignment.

      • hasAlias

         boolean hasAlias()

        Checks whether the 'alias' field has been set. The key alias, note that the actual key alias used by the correspond HSM will be generated by the system.

      • clearAlias

         GenerateKeyPairCommand.Builder clearAlias()

        Clears the value of the 'alias' field. The key alias, note that the actual key alias used by the correspond HSM will be generated by the system.

      • hasExternalId

         boolean hasExternalId()

        Checks whether the 'externalId' field has been set. 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.

      • 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