Class BandwidthScheduleProperties

java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.BandwidthScheduleProperties

public final class BandwidthScheduleProperties extends Object
The properties of the bandwidth schedule.
  • Constructor Details

    • BandwidthScheduleProperties

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

    • start

      public String start()
      Get the start property: The start time of the schedule in UTC.
      Returns:
      the start value.
    • withStart

      public BandwidthScheduleProperties withStart(String start)
      Set the start property: The start time of the schedule in UTC.
      Parameters:
      start - the start value to set.
      Returns:
      the BandwidthScheduleProperties object itself.
    • stop

      public String stop()
      Get the stop property: The stop time of the schedule in UTC.
      Returns:
      the stop value.
    • withStop

      public BandwidthScheduleProperties withStop(String stop)
      Set the stop property: The stop time of the schedule in UTC.
      Parameters:
      stop - the stop value to set.
      Returns:
      the BandwidthScheduleProperties object itself.
    • rateInMbps

      public int rateInMbps()
      Get the rateInMbps property: The bandwidth rate in Mbps.
      Returns:
      the rateInMbps value.
    • withRateInMbps

      public BandwidthScheduleProperties withRateInMbps(int rateInMbps)
      Set the rateInMbps property: The bandwidth rate in Mbps.
      Parameters:
      rateInMbps - the rateInMbps value to set.
      Returns:
      the BandwidthScheduleProperties object itself.
    • days

      public List<DayOfWeek> days()
      Get the days property: The days of the week when this schedule is applicable.
      Returns:
      the days value.
    • withDays

      public BandwidthScheduleProperties withDays(List<DayOfWeek> days)
      Set the days property: The days of the week when this schedule is applicable.
      Parameters:
      days - the days value to set.
      Returns:
      the BandwidthScheduleProperties object itself.
    • validate

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