public class ContainerInfo extends Object
| Constructor and Description |
|---|
ContainerInfo() |
| Modifier and Type | Method and Description |
|---|---|
ContainerCpuStatistics |
currentCpuStats()
Get the currentCpuStats value.
|
org.joda.time.DateTime |
currentTimeStamp()
Get the currentTimeStamp value.
|
ContainerNetworkInterfaceStatistics |
eth0()
Get the eth0 value.
|
String |
id()
Get the id value.
|
ContainerMemoryStatistics |
memoryStats()
Get the memoryStats value.
|
String |
name()
Get the name value.
|
ContainerCpuStatistics |
previousCpuStats()
Get the previousCpuStats value.
|
org.joda.time.DateTime |
previousTimeStamp()
Get the previousTimeStamp value.
|
ContainerInfo |
withCurrentCpuStats(ContainerCpuStatistics currentCpuStats)
Set the currentCpuStats value.
|
ContainerInfo |
withCurrentTimeStamp(org.joda.time.DateTime currentTimeStamp)
Set the currentTimeStamp value.
|
ContainerInfo |
withEth0(ContainerNetworkInterfaceStatistics eth0)
Set the eth0 value.
|
ContainerInfo |
withId(String id)
Set the id value.
|
ContainerInfo |
withMemoryStats(ContainerMemoryStatistics memoryStats)
Set the memoryStats value.
|
ContainerInfo |
withName(String name)
Set the name value.
|
ContainerInfo |
withPreviousCpuStats(ContainerCpuStatistics previousCpuStats)
Set the previousCpuStats value.
|
ContainerInfo |
withPreviousTimeStamp(org.joda.time.DateTime previousTimeStamp)
Set the previousTimeStamp value.
|
public org.joda.time.DateTime currentTimeStamp()
public ContainerInfo withCurrentTimeStamp(org.joda.time.DateTime currentTimeStamp)
currentTimeStamp - the currentTimeStamp value to setpublic org.joda.time.DateTime previousTimeStamp()
public ContainerInfo withPreviousTimeStamp(org.joda.time.DateTime previousTimeStamp)
previousTimeStamp - the previousTimeStamp value to setpublic ContainerCpuStatistics currentCpuStats()
public ContainerInfo withCurrentCpuStats(ContainerCpuStatistics currentCpuStats)
currentCpuStats - the currentCpuStats value to setpublic ContainerCpuStatistics previousCpuStats()
public ContainerInfo withPreviousCpuStats(ContainerCpuStatistics previousCpuStats)
previousCpuStats - the previousCpuStats value to setpublic ContainerMemoryStatistics memoryStats()
public ContainerInfo withMemoryStats(ContainerMemoryStatistics memoryStats)
memoryStats - the memoryStats value to setpublic String name()
public ContainerInfo withName(String name)
name - the name value to setpublic String id()
public ContainerInfo withId(String id)
id - the id value to setpublic ContainerNetworkInterfaceStatistics eth0()
public ContainerInfo withEth0(ContainerNetworkInterfaceStatistics eth0)
eth0 - the eth0 value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/