Class ContainerInfo


  • public final class ContainerInfo
    extends Object
    The ContainerInfo model.
    • Constructor Detail

      • ContainerInfo

        public ContainerInfo()
    • Method Detail

      • currentTimestamp

        public OffsetDateTime currentTimestamp()
        Get the currentTimestamp property: The currentTimeStamp property.
        Returns:
        the currentTimestamp value.
      • withCurrentTimestamp

        public ContainerInfo withCurrentTimestamp​(OffsetDateTime currentTimestamp)
        Set the currentTimestamp property: The currentTimeStamp property.
        Parameters:
        currentTimestamp - the currentTimestamp value to set.
        Returns:
        the ContainerInfo object itself.
      • previousTimestamp

        public OffsetDateTime previousTimestamp()
        Get the previousTimestamp property: The previousTimeStamp property.
        Returns:
        the previousTimestamp value.
      • withPreviousTimestamp

        public ContainerInfo withPreviousTimestamp​(OffsetDateTime previousTimestamp)
        Set the previousTimestamp property: The previousTimeStamp property.
        Parameters:
        previousTimestamp - the previousTimestamp value to set.
        Returns:
        the ContainerInfo object itself.
      • currentCpuStats

        public ContainerCpuStatistics currentCpuStats()
        Get the currentCpuStats property: The currentCpuStats property.
        Returns:
        the currentCpuStats value.
      • withCurrentCpuStats

        public ContainerInfo withCurrentCpuStats​(ContainerCpuStatistics currentCpuStats)
        Set the currentCpuStats property: The currentCpuStats property.
        Parameters:
        currentCpuStats - the currentCpuStats value to set.
        Returns:
        the ContainerInfo object itself.
      • previousCpuStats

        public ContainerCpuStatistics previousCpuStats()
        Get the previousCpuStats property: The previousCpuStats property.
        Returns:
        the previousCpuStats value.
      • withPreviousCpuStats

        public ContainerInfo withPreviousCpuStats​(ContainerCpuStatistics previousCpuStats)
        Set the previousCpuStats property: The previousCpuStats property.
        Parameters:
        previousCpuStats - the previousCpuStats value to set.
        Returns:
        the ContainerInfo object itself.
      • memoryStats

        public ContainerMemoryStatistics memoryStats()
        Get the memoryStats property: The memoryStats property.
        Returns:
        the memoryStats value.
      • withMemoryStats

        public ContainerInfo withMemoryStats​(ContainerMemoryStatistics memoryStats)
        Set the memoryStats property: The memoryStats property.
        Parameters:
        memoryStats - the memoryStats value to set.
        Returns:
        the ContainerInfo object itself.
      • name

        public String name()
        Get the name property: The name property.
        Returns:
        the name value.
      • withName

        public ContainerInfo withName​(String name)
        Set the name property: The name property.
        Parameters:
        name - the name value to set.
        Returns:
        the ContainerInfo object itself.
      • id

        public String id()
        Get the id property: The id property.
        Returns:
        the id value.
      • withId

        public ContainerInfo withId​(String id)
        Set the id property: The id property.
        Parameters:
        id - the id value to set.
        Returns:
        the ContainerInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.