Class ValidateSecretInput


  • public final class ValidateSecretInput
    extends Object
    Input of the secret to be validated.
    • Constructor Detail

      • ValidateSecretInput

        public ValidateSecretInput()
    • Method Detail

      • secretSource

        public ResourceReference secretSource()
        Get the secretSource property: The secret source.
        Returns:
        the secretSource value.
      • withSecretSource

        public ValidateSecretInput withSecretSource​(ResourceReference secretSource)
        Set the secretSource property: The secret source.
        Parameters:
        secretSource - the secretSource value to set.
        Returns:
        the ValidateSecretInput object itself.
      • secretType

        public ValidateSecretType secretType()
        Get the secretType property: The secret type.
        Returns:
        the secretType value.
      • withSecretType

        public ValidateSecretInput withSecretType​(ValidateSecretType secretType)
        Set the secretType property: The secret type.
        Parameters:
        secretType - the secretType value to set.
        Returns:
        the ValidateSecretInput object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.