Class ExportSchedule

java.lang.Object
com.azure.resourcemanager.costmanagement.models.ExportSchedule

public final class ExportSchedule extends Object
The schedule associated with the export.
  • Constructor Details

    • ExportSchedule

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

    • status

      public StatusType status()
      Get the status property: The status of the export's schedule. If 'Inactive', the export's schedule is paused.
      Returns:
      the status value.
    • withStatus

      public ExportSchedule withStatus(StatusType status)
      Set the status property: The status of the export's schedule. If 'Inactive', the export's schedule is paused.
      Parameters:
      status - the status value to set.
      Returns:
      the ExportSchedule object itself.
    • recurrence

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

      public ExportSchedule withRecurrence(RecurrenceType recurrence)
      Set the recurrence property: The schedule recurrence.
      Parameters:
      recurrence - the recurrence value to set.
      Returns:
      the ExportSchedule object itself.
    • recurrencePeriod

      public ExportRecurrencePeriod recurrencePeriod()
      Get the recurrencePeriod property: Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
      Returns:
      the recurrencePeriod value.
    • withRecurrencePeriod

      public ExportSchedule withRecurrencePeriod(ExportRecurrencePeriod recurrencePeriod)
      Set the recurrencePeriod property: Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
      Parameters:
      recurrencePeriod - the recurrencePeriod value to set.
      Returns:
      the ExportSchedule object itself.
    • validate

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