ContainerThrottlingData Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ContainerThrottlingData
- com.
Implements
public final class ContainerThrottlingData
implements JsonSerializable<ContainerThrottlingData>
The ContainerThrottlingData model.
Constructor Summary
Constructor | Description |
---|---|
ContainerThrottlingData() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
Integer |
periods()
Get the periods property: The periods property. |
Integer |
throttledPeriods()
Get the throttled |
Integer |
throttledTime()
Get the throttled |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Container |
withPeriods(Integer periods)
Set the periods property: The periods property. |
Container |
withThrottledPeriods(Integer throttledPeriods)
Set the throttled |
Container |
withThrottledTime(Integer throttledTime)
Set the throttled |
Methods inherited from java.lang.Object
Constructor Details
ContainerThrottlingData
public ContainerThrottlingData()
Creates an instance of ContainerThrottlingData class.
Method Details
fromJson
public static ContainerThrottlingData fromJson(JsonReader jsonReader)
Reads an instance of ContainerThrottlingData from the JsonReader.
Parameters:
Returns:
Throws:
periods
public Integer periods()
Get the periods property: The periods property.
Returns:
throttledPeriods
public Integer throttledPeriods()
Get the throttledPeriods property: The throttledPeriods property.
Returns:
throttledTime
public Integer throttledTime()
Get the throttledTime property: The throttledTime property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPeriods
public ContainerThrottlingData withPeriods(Integer periods)
Set the periods property: The periods property.
Parameters:
Returns:
withThrottledPeriods
public ContainerThrottlingData withThrottledPeriods(Integer throttledPeriods)
Set the throttledPeriods property: The throttledPeriods property.
Parameters:
Returns:
withThrottledTime
public ContainerThrottlingData withThrottledTime(Integer throttledTime)
Set the throttledTime property: The throttledTime property.
Parameters:
Returns:
Applies to
Azure SDK for Java