Class BatchReleaseCriteria
java.lang.Object
com.azure.resourcemanager.logic.models.BatchReleaseCriteria
The batch release criteria.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the batchSize property: The batch size in bytes.Get the messageCount property: The message count.Get the recurrence property: The recurrence.void
validate()
Validates the instance.withBatchSize
(Integer batchSize) Set the batchSize property: The batch size in bytes.withMessageCount
(Integer messageCount) Set the messageCount property: The message count.withRecurrence
(WorkflowTriggerRecurrence recurrence) Set the recurrence property: The recurrence.
-
Constructor Details
-
BatchReleaseCriteria
public BatchReleaseCriteria()Creates an instance of BatchReleaseCriteria class.
-
-
Method Details
-
messageCount
Get the messageCount property: The message count.- Returns:
- the messageCount value.
-
withMessageCount
Set the messageCount property: The message count.- Parameters:
messageCount
- the messageCount value to set.- Returns:
- the BatchReleaseCriteria object itself.
-
batchSize
Get the batchSize property: The batch size in bytes.- Returns:
- the batchSize value.
-
withBatchSize
Set the batchSize property: The batch size in bytes.- Parameters:
batchSize
- the batchSize value to set.- Returns:
- the BatchReleaseCriteria object itself.
-
recurrence
Get the recurrence property: The recurrence.- Returns:
- the recurrence value.
-
withRecurrence
Set the recurrence property: The recurrence.- Parameters:
recurrence
- the recurrence value to set.- Returns:
- the BatchReleaseCriteria object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-