Class BatchReleaseCriteria

java.lang.Object
com.azure.resourcemanager.logic.models.BatchReleaseCriteria

public final class BatchReleaseCriteria extends Object
The batch release criteria.
  • Constructor Details

    • BatchReleaseCriteria

      public BatchReleaseCriteria()
      Creates an instance of BatchReleaseCriteria class.
  • Method Details

    • messageCount

      public Integer messageCount()
      Get the messageCount property: The message count.
      Returns:
      the messageCount value.
    • withMessageCount

      public BatchReleaseCriteria withMessageCount(Integer messageCount)
      Set the messageCount property: The message count.
      Parameters:
      messageCount - the messageCount value to set.
      Returns:
      the BatchReleaseCriteria object itself.
    • batchSize

      public Integer batchSize()
      Get the batchSize property: The batch size in bytes.
      Returns:
      the batchSize value.
    • withBatchSize

      public BatchReleaseCriteria withBatchSize(Integer batchSize)
      Set the batchSize property: The batch size in bytes.
      Parameters:
      batchSize - the batchSize value to set.
      Returns:
      the BatchReleaseCriteria object itself.
    • recurrence

      public WorkflowTriggerRecurrence recurrence()
      Get the recurrence property: The recurrence.
      Returns:
      the recurrence value.
    • withRecurrence

      public BatchReleaseCriteria withRecurrence(WorkflowTriggerRecurrence recurrence)
      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.