Class CredentialEnumParameterBuilder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String label
      private Boolean required
      private final String key
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getLabel() Label that is displayed in the VMware Aria Operations UI.
      final Unit setLabel(String label) Label that is displayed in the VMware Aria Operations UI.
      final Boolean getRequired()
      final Unit setRequired(Boolean required)
      final String getKey() Used to identify the parameter.
      final Unit withOption(String key, String label) Adds an option to the Enum Parameter
      final Unit withOption(String key) Adds an option to the Enum Parameter
      final Unit withDefaultOption(String key, String label) Adds an option to the Enum Parameter, and sets it as the default option.
      final Unit withDefaultOption(String key) Adds an option to the Enum Parameter, and sets it as the default option.
      final CredentialEnumParameter build(Integer displayOrder)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CredentialEnumParameterBuilder

        CredentialEnumParameterBuilder(String key)
    • Method Detail

      • getLabel

         final String getLabel()

        Label that is displayed in the VMware Aria Operations UI. Defaults to the key.

      • setLabel

         final Unit setLabel(String label)

        Label that is displayed in the VMware Aria Operations UI. Defaults to the key.

      • setRequired

         final Unit setRequired(Boolean required)
      • getKey

         final String getKey()

        Used to identify the parameter.

      • withOption

        @JvmOverloads() final Unit withOption(String key, String label)

        Adds an option to the Enum Parameter

        Parameters:
        key - The key of the Enum
        label - Label that is displayed in the VMware Aria Operations UI.
      • withOption

        @JvmOverloads() final Unit withOption(String key)

        Adds an option to the Enum Parameter

        Parameters:
        key - The key of the Enum
      • withDefaultOption

        @JvmOverloads() final Unit withDefaultOption(String key, String label)

        Adds an option to the Enum Parameter, and sets it as the default option. This should only be called once per parameter. If it is called multiple times, the default will be set to the value of the last call.

        Parameters:
        key - The key of the Enum
        label - Label that is displayed in the VMware Aria Operations UI.
      • withDefaultOption

        @JvmOverloads() final Unit withDefaultOption(String key)

        Adds an option to the Enum Parameter, and sets it as the default option. This should only be called once per parameter. If it is called multiple times, the default will be set to the value of the last call.

        Parameters:
        key - The key of the Enum