Class ScaleRuleAuth


  • public final class ScaleRuleAuth
    extends Object
    Auth Secrets for Container App Scale Rule.
    • Constructor Detail

      • ScaleRuleAuth

        public ScaleRuleAuth()
    • Method Detail

      • secretRef

        public String secretRef()
        Get the secretRef property: Name of the Container App secret from which to pull the auth params.
        Returns:
        the secretRef value.
      • withSecretRef

        public ScaleRuleAuth withSecretRef​(String secretRef)
        Set the secretRef property: Name of the Container App secret from which to pull the auth params.
        Parameters:
        secretRef - the secretRef value to set.
        Returns:
        the ScaleRuleAuth object itself.
      • triggerParameter

        public String triggerParameter()
        Get the triggerParameter property: Trigger Parameter that uses the secret.
        Returns:
        the triggerParameter value.
      • withTriggerParameter

        public ScaleRuleAuth withTriggerParameter​(String triggerParameter)
        Set the triggerParameter property: Trigger Parameter that uses the secret.
        Parameters:
        triggerParameter - the triggerParameter value to set.
        Returns:
        the ScaleRuleAuth object itself.
      • validate

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