Class ContainerInfo
java.lang.Object
com.azure.resourcemanager.appservice.models.ContainerInfo
The ContainerInfo model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the currentCpuStats property: The currentCpuStats property.Get the currentTimestamp property: The currentTimeStamp property.eth0()Get the eth0 property: The eth0 property.id()Get the id property: The id property.Get the memoryStats property: The memoryStats property.name()Get the name property: The name property.Get the previousCpuStats property: The previousCpuStats property.Get the previousTimestamp property: The previousTimeStamp property.voidvalidate()Validates the instance.withCurrentCpuStats(ContainerCpuStatistics currentCpuStats) Set the currentCpuStats property: The currentCpuStats property.withCurrentTimestamp(OffsetDateTime currentTimestamp) Set the currentTimestamp property: The currentTimeStamp property.Set the eth0 property: The eth0 property.Set the id property: The id property.withMemoryStats(ContainerMemoryStatistics memoryStats) Set the memoryStats property: The memoryStats property.Set the name property: The name property.withPreviousCpuStats(ContainerCpuStatistics previousCpuStats) Set the previousCpuStats property: The previousCpuStats property.withPreviousTimestamp(OffsetDateTime previousTimestamp) Set the previousTimestamp property: The previousTimeStamp property.
-
Constructor Details
-
ContainerInfo
public ContainerInfo()Creates an instance of ContainerInfo class.
-
-
Method Details
-
currentTimestamp
Get the currentTimestamp property: The currentTimeStamp property.- Returns:
- the currentTimestamp value.
-
withCurrentTimestamp
Set the currentTimestamp property: The currentTimeStamp property.- Parameters:
currentTimestamp- the currentTimestamp value to set.- Returns:
- the ContainerInfo object itself.
-
previousTimestamp
Get the previousTimestamp property: The previousTimeStamp property.- Returns:
- the previousTimestamp value.
-
withPreviousTimestamp
Set the previousTimestamp property: The previousTimeStamp property.- Parameters:
previousTimestamp- the previousTimestamp value to set.- Returns:
- the ContainerInfo object itself.
-
currentCpuStats
Get the currentCpuStats property: The currentCpuStats property.- Returns:
- the currentCpuStats value.
-
withCurrentCpuStats
Set the currentCpuStats property: The currentCpuStats property.- Parameters:
currentCpuStats- the currentCpuStats value to set.- Returns:
- the ContainerInfo object itself.
-
previousCpuStats
Get the previousCpuStats property: The previousCpuStats property.- Returns:
- the previousCpuStats value.
-
withPreviousCpuStats
Set the previousCpuStats property: The previousCpuStats property.- Parameters:
previousCpuStats- the previousCpuStats value to set.- Returns:
- the ContainerInfo object itself.
-
memoryStats
Get the memoryStats property: The memoryStats property.- Returns:
- the memoryStats value.
-
withMemoryStats
Set the memoryStats property: The memoryStats property.- Parameters:
memoryStats- the memoryStats value to set.- Returns:
- the ContainerInfo object itself.
-
name
Get the name property: The name property.- Returns:
- the name value.
-
withName
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the ContainerInfo object itself.
-
id
Get the id property: The id property.- Returns:
- the id value.
-
withId
Set the id property: The id property.- Parameters:
id- the id value to set.- Returns:
- the ContainerInfo object itself.
-
eth0
Get the eth0 property: The eth0 property.- Returns:
- the eth0 value.
-
withEth0
Set the eth0 property: The eth0 property.- Parameters:
eth0- the eth0 value to set.- Returns:
- the ContainerInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-