Class ExportRecurrencePeriod
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ExportRecurrencePeriod
The start and end date for recurrence schedule.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ExportRecurrencePeriod class. -
Method Summary
Modifier and TypeMethodDescriptionfrom()
Get the from property: The start date of recurrence.to()
Get the to property: The end date of recurrence.void
validate()
Validates the instance.withFrom
(OffsetDateTime from) Set the from property: The start date of recurrence.withTo
(OffsetDateTime to) Set the to property: The end date of recurrence.
-
Constructor Details
-
ExportRecurrencePeriod
public ExportRecurrencePeriod()Creates an instance of ExportRecurrencePeriod class.
-
-
Method Details
-
from
Get the from property: The start date of recurrence.- Returns:
- the from value.
-
withFrom
Set the from property: The start date of recurrence.- Parameters:
from
- the from value to set.- Returns:
- the ExportRecurrencePeriod object itself.
-
to
Get the to property: The end date of recurrence.- Returns:
- the to value.
-
withTo
Set the to property: The end date of recurrence.- Parameters:
to
- the to value to set.- Returns:
- the ExportRecurrencePeriod object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-