ContainerMemoryStatistics Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ContainerMemoryStatistics
- com.
Implements
public final class ContainerMemoryStatistics
implements JsonSerializable<ContainerMemoryStatistics>
The ContainerMemoryStatistics model.
Constructor Summary
Constructor | Description |
---|---|
ContainerMemoryStatistics() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
Long |
limit()
Get the limit property: The limit property. |
Long |
maxUsage()
Get the max |
Json |
toJson(JsonWriter jsonWriter) |
Long |
usage()
Get the usage property: The usage property. |
void |
validate()
Validates the instance. |
Container |
withLimit(Long limit)
Set the limit property: The limit property. |
Container |
withMaxUsage(Long maxUsage)
Set the max |
Container |
withUsage(Long usage)
Set the usage property: The usage property. |
Methods inherited from java.lang.Object
Constructor Details
ContainerMemoryStatistics
public ContainerMemoryStatistics()
Creates an instance of ContainerMemoryStatistics class.
Method Details
fromJson
public static ContainerMemoryStatistics fromJson(JsonReader jsonReader)
Reads an instance of ContainerMemoryStatistics from the JsonReader.
Parameters:
Returns:
Throws:
limit
public Long limit()
Get the limit property: The limit property.
Returns:
maxUsage
public Long maxUsage()
Get the maxUsage property: The maxUsage property.
Returns:
toJson
usage
public Long usage()
Get the usage property: The usage property.
Returns:
validate
public void validate()
Validates the instance.
withLimit
public ContainerMemoryStatistics withLimit(Long limit)
Set the limit property: The limit property.
Parameters:
Returns:
withMaxUsage
public ContainerMemoryStatistics withMaxUsage(Long maxUsage)
Set the maxUsage property: The maxUsage property.
Parameters:
Returns:
withUsage
public ContainerMemoryStatistics withUsage(Long usage)
Set the usage property: The usage property.
Parameters:
Returns:
Applies to
Azure SDK for Java