public final class ContainerInfo extends Object
| Constructor and Description |
|---|
ContainerInfo() |
| Modifier and Type | Method and Description |
|---|---|
ContainerCpuStatistics |
currentCpuStats()
Get the currentCpuStats property: The currentCpuStats property.
|
OffsetDateTime |
currentTimestamp()
Get the currentTimestamp property: The currentTimeStamp property.
|
ContainerNetworkInterfaceStatistics |
eth0()
Get the eth0 property: The eth0 property.
|
String |
id()
Get the id property: The id property.
|
ContainerMemoryStatistics |
memoryStats()
Get the memoryStats property: The memoryStats property.
|
String |
name()
Get the name property: The name property.
|
ContainerCpuStatistics |
previousCpuStats()
Get the previousCpuStats property: The previousCpuStats property.
|
OffsetDateTime |
previousTimestamp()
Get the previousTimestamp property: The previousTimeStamp property.
|
void |
validate()
Validates the instance.
|
ContainerInfo |
withCurrentCpuStats(ContainerCpuStatistics currentCpuStats)
Set the currentCpuStats property: The currentCpuStats property.
|
ContainerInfo |
withCurrentTimestamp(OffsetDateTime currentTimestamp)
Set the currentTimestamp property: The currentTimeStamp property.
|
ContainerInfo |
withEth0(ContainerNetworkInterfaceStatistics eth0)
Set the eth0 property: The eth0 property.
|
ContainerInfo |
withId(String id)
Set the id property: The id property.
|
ContainerInfo |
withMemoryStats(ContainerMemoryStatistics memoryStats)
Set the memoryStats property: The memoryStats property.
|
ContainerInfo |
withName(String name)
Set the name property: The name property.
|
ContainerInfo |
withPreviousCpuStats(ContainerCpuStatistics previousCpuStats)
Set the previousCpuStats property: The previousCpuStats property.
|
ContainerInfo |
withPreviousTimestamp(OffsetDateTime previousTimestamp)
Set the previousTimestamp property: The previousTimeStamp property.
|
public OffsetDateTime currentTimestamp()
public ContainerInfo withCurrentTimestamp(OffsetDateTime currentTimestamp)
currentTimestamp - the currentTimestamp value to set.public OffsetDateTime previousTimestamp()
public ContainerInfo withPreviousTimestamp(OffsetDateTime previousTimestamp)
previousTimestamp - the previousTimestamp value to set.public ContainerCpuStatistics currentCpuStats()
public ContainerInfo withCurrentCpuStats(ContainerCpuStatistics currentCpuStats)
currentCpuStats - the currentCpuStats value to set.public ContainerCpuStatistics previousCpuStats()
public ContainerInfo withPreviousCpuStats(ContainerCpuStatistics previousCpuStats)
previousCpuStats - the previousCpuStats value to set.public ContainerMemoryStatistics memoryStats()
public ContainerInfo withMemoryStats(ContainerMemoryStatistics memoryStats)
memoryStats - the memoryStats value to set.public String name()
public ContainerInfo withName(String name)
name - the name value to set.public String id()
public ContainerInfo withId(String id)
id - the id value to set.public ContainerNetworkInterfaceStatistics eth0()
public ContainerInfo withEth0(ContainerNetworkInterfaceStatistics eth0)
eth0 - the eth0 value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.