Class Event
- java.lang.Object
-
- com.azure.resourcemanager.containerinstance.models.Event
-
public final class Event extends Object
A container group or container instance event.
-
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercount()Get the count property: The count of the event.OffsetDateTimefirstTimestamp()Get the firstTimestamp property: The date-time of the earliest logged event.OffsetDateTimelastTimestamp()Get the lastTimestamp property: The date-time of the latest logged event.Stringmessage()Get the message property: The event message.Stringname()Get the name property: The event name.Stringtype()Get the type property: The event type.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
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.
-
-