Class ContainerThrottlingData
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.ContainerThrottlingData
-
public final class ContainerThrottlingData extends Object
The ContainerThrottlingData model.
-
-
Constructor Summary
Constructors Constructor Description ContainerThrottlingData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerperiods()Get the periods property: The periods property.IntegerthrottledPeriods()Get the throttledPeriods property: The throttledPeriods property.IntegerthrottledTime()Get the throttledTime property: The throttledTime property.voidvalidate()Validates the instance.ContainerThrottlingDatawithPeriods(Integer periods)Set the periods property: The periods property.ContainerThrottlingDatawithThrottledPeriods(Integer throttledPeriods)Set the throttledPeriods property: The throttledPeriods property.ContainerThrottlingDatawithThrottledTime(Integer throttledTime)Set the throttledTime property: The throttledTime property.
-
-
-
Method Detail
-
periods
public Integer periods()
Get the periods property: The periods property.- Returns:
- the periods value.
-
withPeriods
public ContainerThrottlingData withPeriods(Integer periods)
Set the periods property: The periods property.- Parameters:
periods- the periods value to set.- Returns:
- the ContainerThrottlingData object itself.
-
throttledPeriods
public Integer throttledPeriods()
Get the throttledPeriods property: The throttledPeriods property.- Returns:
- the throttledPeriods value.
-
withThrottledPeriods
public ContainerThrottlingData withThrottledPeriods(Integer throttledPeriods)
Set the throttledPeriods property: The throttledPeriods property.- Parameters:
throttledPeriods- the throttledPeriods value to set.- Returns:
- the ContainerThrottlingData object itself.
-
throttledTime
public Integer throttledTime()
Get the throttledTime property: The throttledTime property.- Returns:
- the throttledTime value.
-
withThrottledTime
public ContainerThrottlingData withThrottledTime(Integer throttledTime)
Set the throttledTime property: The throttledTime property.- Parameters:
throttledTime- the throttledTime value to set.- Returns:
- the ContainerThrottlingData object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-