Class ContainerPropertiesInstanceView


  • public final class ContainerPropertiesInstanceView
    extends Object
    The instance view of the container instance. Only valid in response.
    • Constructor Detail

      • ContainerPropertiesInstanceView

        public ContainerPropertiesInstanceView()
    • Method Detail

      • restartCount

        public Integer restartCount()
        Get the restartCount property: The number of times that the container instance has been restarted.
        Returns:
        the restartCount value.
      • currentState

        public ContainerState currentState()
        Get the currentState property: Current container instance state.
        Returns:
        the currentState value.
      • previousState

        public ContainerState previousState()
        Get the previousState property: Previous container instance state.
        Returns:
        the previousState value.
      • events

        public List<Event> events()
        Get the events property: The events of the container instance.
        Returns:
        the events value.
      • validate

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