Class QueueScaleRule
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.QueueScaleRule
-
public final class QueueScaleRule extends Object
Container App container Azure Queue based scaling rule.
-
-
Constructor Summary
Constructors Constructor Description QueueScaleRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ScaleRuleAuth>
auth()
Get the auth property: Authentication secrets for the queue scale rule.Integer
queueLength()
Get the queueLength property: Queue length.String
queueName()
Get the queueName property: Queue name.void
validate()
Validates the instance.QueueScaleRule
withAuth(List<ScaleRuleAuth> auth)
Set the auth property: Authentication secrets for the queue scale rule.QueueScaleRule
withQueueLength(Integer queueLength)
Set the queueLength property: Queue length.QueueScaleRule
withQueueName(String queueName)
Set the queueName property: Queue name.
-
-
-
Method Detail
-
queueName
public String queueName()
Get the queueName property: Queue name.- Returns:
- the queueName value.
-
withQueueName
public QueueScaleRule withQueueName(String queueName)
Set the queueName property: Queue name.- Parameters:
queueName
- the queueName value to set.- Returns:
- the QueueScaleRule object itself.
-
queueLength
public Integer queueLength()
Get the queueLength property: Queue length.- Returns:
- the queueLength value.
-
withQueueLength
public QueueScaleRule withQueueLength(Integer queueLength)
Set the queueLength property: Queue length.- Parameters:
queueLength
- the queueLength value to set.- Returns:
- the QueueScaleRule object itself.
-
auth
public List<ScaleRuleAuth> auth()
Get the auth property: Authentication secrets for the queue scale rule.- Returns:
- the auth value.
-
withAuth
public QueueScaleRule withAuth(List<ScaleRuleAuth> auth)
Set the auth property: Authentication secrets for the queue scale rule.- Parameters:
auth
- the auth value to set.- Returns:
- the QueueScaleRule object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-