Class BandwidthScheduleInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.BandwidthScheduleInner

public final class BandwidthScheduleInner extends ArmBaseModel
The bandwidth schedule details.
  • Constructor Details

    • BandwidthScheduleInner

      public BandwidthScheduleInner()
      Creates an instance of BandwidthScheduleInner 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 BandwidthScheduleInner withStart(String start)
      Set the start property: The start time of the schedule in UTC.
      Parameters:
      start - the start value to set.
      Returns:
      the BandwidthScheduleInner object itself.
    • stop

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

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

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

      public BandwidthScheduleInner withRateInMbps(int rateInMbps)
      Set the rateInMbps property: The bandwidth rate in Mbps.
      Parameters:
      rateInMbps - the rateInMbps value to set.
      Returns:
      the BandwidthScheduleInner 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 BandwidthScheduleInner 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 BandwidthScheduleInner object itself.
    • validate

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