Class GenericSecret.Builder

  • Enclosing class:
    GenericSecret

    public static class GenericSecret.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public GenericSecret build()
        Builds a GenericSecret.
        Returns:
        the new GenericSecret instance
      • type

        public GenericSecret.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the GenericSecret builder
      • value

        public GenericSecret.Builder value​(java.lang.String value)
        Set the value.
        Parameters:
        value - the value
        Returns:
        the GenericSecret builder
      • source

        public GenericSecret.Builder source​(java.lang.String source)
        Set the source.
        Parameters:
        source - the source
        Returns:
        the GenericSecret builder
      • keyName

        public GenericSecret.Builder keyName​(java.lang.String keyName)
        Set the keyName.
        Parameters:
        keyName - the keyName
        Returns:
        the GenericSecret builder
      • algorithm

        public GenericSecret.Builder algorithm​(java.lang.String algorithm)
        Set the algorithm.
        Parameters:
        algorithm - the algorithm
        Returns:
        the GenericSecret builder