Class ExportSchedule
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ExportSchedule
The schedule associated with the export.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the recurrence property: The schedule recurrence.Get the recurrencePeriod property: Has start and end date of the recurrence.status()
Get the status property: The status of the export's schedule.void
validate()
Validates the instance.withRecurrence
(RecurrenceType recurrence) Set the recurrence property: The schedule recurrence.withRecurrencePeriod
(ExportRecurrencePeriod recurrencePeriod) Set the recurrencePeriod property: Has start and end date of the recurrence.withStatus
(StatusType status) Set the status property: The status of the export's schedule.
-
Constructor Details
-
ExportSchedule
public ExportSchedule()Creates an instance of ExportSchedule class.
-
-
Method Details
-
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
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
Get the recurrence property: The schedule recurrence.- Returns:
- the recurrence value.
-
withRecurrence
Set the recurrence property: The schedule recurrence.- Parameters:
recurrence
- the recurrence value to set.- Returns:
- the ExportSchedule object itself.
-
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
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.
-