Class ScaleRuleAuth
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.ScaleRuleAuth
-
public final class ScaleRuleAuth extends Object
Auth Secrets for Container App Scale Rule.
-
-
Constructor Summary
Constructors Constructor Description ScaleRuleAuth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
secretRef()
Get the secretRef property: Name of the Container App secret from which to pull the auth params.String
triggerParameter()
Get the triggerParameter property: Trigger Parameter that uses the secret.void
validate()
Validates the instance.ScaleRuleAuth
withSecretRef(String secretRef)
Set the secretRef property: Name of the Container App secret from which to pull the auth params.ScaleRuleAuth
withTriggerParameter(String triggerParameter)
Set the triggerParameter property: Trigger Parameter that uses the secret.
-
-
-
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.
-
-