Class BandwidthScheduleProperties
java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.BandwidthScheduleProperties
The properties of the bandwidth schedule.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BandwidthScheduleProperties class. -
Method Summary
Modifier and TypeMethodDescriptiondays()
Get the days property: The days of the week when this schedule is applicable.int
Get the rateInMbps property: The bandwidth rate in Mbps.start()
Get the start property: The start time of the schedule in UTC.stop()
Get the stop property: The stop time of the schedule in UTC.void
validate()
Validates the instance.Set the days property: The days of the week when this schedule is applicable.withRateInMbps
(int rateInMbps) Set the rateInMbps property: The bandwidth rate in Mbps.Set the start property: The start time of the schedule in UTC.Set the stop property: The stop time of the schedule in UTC.
-
Constructor Details
-
BandwidthScheduleProperties
public BandwidthScheduleProperties()Creates an instance of BandwidthScheduleProperties class.
-
-
Method Details
-
start
Get the start property: The start time of the schedule in UTC.- Returns:
- the start value.
-
withStart
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
Get the stop property: The stop time of the schedule in UTC.- Returns:
- the stop value.
-
withStop
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
Set the rateInMbps property: The bandwidth rate in Mbps.- Parameters:
rateInMbps
- the rateInMbps value to set.- Returns:
- the BandwidthScheduleProperties object itself.
-
days
Get the days property: The days of the week when this schedule is applicable.- Returns:
- the days value.
-
withDays
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.
-