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 java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
The ContainerCpuUsage model.
/** * The ContainerCpuUsage model. */
public class ContainerCpuUsage {
The totalUsage property.
/** * The totalUsage property. */
@JsonProperty(value = "totalUsage") private Long totalUsage;
The perCpuUsage property.
/** * The perCpuUsage property. */
@JsonProperty(value = "perCpuUsage") private List<Long> perCpuUsage;
The kernelModeUsage property.
/** * The kernelModeUsage property. */
@JsonProperty(value = "kernelModeUsage") private Long kernelModeUsage;
The userModeUsage property.
/** * The userModeUsage property. */
@JsonProperty(value = "userModeUsage") private Long userModeUsage;
Get the totalUsage value.
Returns:the totalUsage value
/** * Get the totalUsage value. * * @return the totalUsage value */
public Long totalUsage() { return this.totalUsage; }
Set the totalUsage value.
Params:
  • totalUsage – the totalUsage value to set
Returns:the ContainerCpuUsage object itself.
/** * Set the totalUsage value. * * @param totalUsage the totalUsage value to set * @return the ContainerCpuUsage object itself. */
public ContainerCpuUsage withTotalUsage(Long totalUsage) { this.totalUsage = totalUsage; return this; }
Get the perCpuUsage value.
Returns:the perCpuUsage value
/** * Get the perCpuUsage value. * * @return the perCpuUsage value */
public List<Long> perCpuUsage() { return this.perCpuUsage; }
Set the perCpuUsage value.
Params:
  • perCpuUsage – the perCpuUsage value to set
Returns:the ContainerCpuUsage object itself.
/** * Set the perCpuUsage value. * * @param perCpuUsage the perCpuUsage value to set * @return the ContainerCpuUsage object itself. */
public ContainerCpuUsage withPerCpuUsage(List<Long> perCpuUsage) { this.perCpuUsage = perCpuUsage; return this; }
Get the kernelModeUsage value.
Returns:the kernelModeUsage value
/** * Get the kernelModeUsage value. * * @return the kernelModeUsage value */
public Long kernelModeUsage() { return this.kernelModeUsage; }
Set the kernelModeUsage value.
Params:
  • kernelModeUsage – the kernelModeUsage value to set
Returns:the ContainerCpuUsage object itself.
/** * Set the kernelModeUsage value. * * @param kernelModeUsage the kernelModeUsage value to set * @return the ContainerCpuUsage object itself. */
public ContainerCpuUsage withKernelModeUsage(Long kernelModeUsage) { this.kernelModeUsage = kernelModeUsage; return this; }
Get the userModeUsage value.
Returns:the userModeUsage value
/** * Get the userModeUsage value. * * @return the userModeUsage value */
public Long userModeUsage() { return this.userModeUsage; }
Set the userModeUsage value.
Params:
  • userModeUsage – the userModeUsage value to set
Returns:the ContainerCpuUsage object itself.
/** * Set the userModeUsage value. * * @param userModeUsage the userModeUsage value to set * @return the ContainerCpuUsage object itself. */
public ContainerCpuUsage withUserModeUsage(Long userModeUsage) { this.userModeUsage = userModeUsage; return this; } }