Class ExportRecurrencePeriod

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

public final class ExportRecurrencePeriod extends Object
The start and end date for recurrence schedule.
  • Constructor Details

    • ExportRecurrencePeriod

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

    • from

      public OffsetDateTime from()
      Get the from property: The start date of recurrence.
      Returns:
      the from value.
    • withFrom

      public ExportRecurrencePeriod withFrom(OffsetDateTime from)
      Set the from property: The start date of recurrence.
      Parameters:
      from - the from value to set.
      Returns:
      the ExportRecurrencePeriod object itself.
    • to

      public OffsetDateTime 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.