Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonProperty;
The ContainerMemoryStatistics model.
/**
* The ContainerMemoryStatistics model.
*/
public class ContainerMemoryStatistics {
The usage property.
/**
* The usage property.
*/
@JsonProperty(value = "usage")
private Long usage;
The maxUsage property.
/**
* The maxUsage property.
*/
@JsonProperty(value = "maxUsage")
private Long maxUsage;
The limit property.
/**
* The limit property.
*/
@JsonProperty(value = "limit")
private Long limit;
Get the usage value.
Returns: the usage value
/**
* Get the usage value.
*
* @return the usage value
*/
public Long usage() {
return this.usage;
}
Set the usage value.
Params: - usage – the usage value to set
Returns: the ContainerMemoryStatistics object itself.
/**
* Set the usage value.
*
* @param usage the usage value to set
* @return the ContainerMemoryStatistics object itself.
*/
public ContainerMemoryStatistics withUsage(Long usage) {
this.usage = usage;
return this;
}
Get the maxUsage value.
Returns: the maxUsage value
/**
* Get the maxUsage value.
*
* @return the maxUsage value
*/
public Long maxUsage() {
return this.maxUsage;
}
Set the maxUsage value.
Params: - maxUsage – the maxUsage value to set
Returns: the ContainerMemoryStatistics object itself.
/**
* Set the maxUsage value.
*
* @param maxUsage the maxUsage value to set
* @return the ContainerMemoryStatistics object itself.
*/
public ContainerMemoryStatistics withMaxUsage(Long maxUsage) {
this.maxUsage = maxUsage;
return this;
}
Get the limit value.
Returns: the limit value
/**
* Get the limit value.
*
* @return the limit value
*/
public Long limit() {
return this.limit;
}
Set the limit value.
Params: - limit – the limit value to set
Returns: the ContainerMemoryStatistics object itself.
/**
* Set the limit value.
*
* @param limit the limit value to set
* @return the ContainerMemoryStatistics object itself.
*/
public ContainerMemoryStatistics withLimit(Long limit) {
this.limit = limit;
return this;
}
}