Class BandwidthScheduleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.BandwidthScheduleInner
The bandwidth schedule details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BandwidthScheduleInner 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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
BandwidthScheduleInner
public BandwidthScheduleInner()Creates an instance of BandwidthScheduleInner 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 BandwidthScheduleInner 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 BandwidthScheduleInner 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 BandwidthScheduleInner 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 BandwidthScheduleInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classArmBaseModel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-