java.lang.Object
com.azure.resourcemanager.containerinstance.models.Event

public final class Event extends Object
A container group or container instance event.
  • Constructor Details

    • Event

      public Event()
      Creates an instance of Event class.
  • Method Details

    • count

      public Integer count()
      Get the count property: The count of the event.
      Returns:
      the count value.
    • firstTimestamp

      public OffsetDateTime firstTimestamp()
      Get the firstTimestamp property: The date-time of the earliest logged event.
      Returns:
      the firstTimestamp value.
    • lastTimestamp

      public OffsetDateTime lastTimestamp()
      Get the lastTimestamp property: The date-time of the latest logged event.
      Returns:
      the lastTimestamp value.
    • name

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

      public String message()
      Get the message property: The event message.
      Returns:
      the message value.
    • type

      public String type()
      Get the type property: The event type.
      Returns:
      the type value.
    • validate

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