Class ServiceImpactingEvent


  • public final class ServiceImpactingEvent
    extends Object
    Lists the service impacting events that may be affecting the health of the resource.
    • Constructor Detail

      • ServiceImpactingEvent

        public ServiceImpactingEvent()
    • Method Detail

      • eventStartTime

        public OffsetDateTime eventStartTime()
        Get the eventStartTime property: Timestamp for when the event started.
        Returns:
        the eventStartTime value.
      • withEventStartTime

        public ServiceImpactingEvent withEventStartTime​(OffsetDateTime eventStartTime)
        Set the eventStartTime property: Timestamp for when the event started.
        Parameters:
        eventStartTime - the eventStartTime value to set.
        Returns:
        the ServiceImpactingEvent object itself.
      • eventStatusLastModifiedTime

        public OffsetDateTime eventStatusLastModifiedTime()
        Get the eventStatusLastModifiedTime property: Timestamp for when event was submitted/detected.
        Returns:
        the eventStatusLastModifiedTime value.
      • withEventStatusLastModifiedTime

        public ServiceImpactingEvent withEventStatusLastModifiedTime​(OffsetDateTime eventStatusLastModifiedTime)
        Set the eventStatusLastModifiedTime property: Timestamp for when event was submitted/detected.
        Parameters:
        eventStatusLastModifiedTime - the eventStatusLastModifiedTime value to set.
        Returns:
        the ServiceImpactingEvent object itself.
      • correlationId

        public String correlationId()
        Get the correlationId property: Correlation id for the event.
        Returns:
        the correlationId value.
      • withCorrelationId

        public ServiceImpactingEvent withCorrelationId​(String correlationId)
        Set the correlationId property: Correlation id for the event.
        Parameters:
        correlationId - the correlationId value to set.
        Returns:
        the ServiceImpactingEvent object itself.
      • status

        public ServiceImpactingEventStatus status()
        Get the status property: Status of the service impacting event.
        Returns:
        the status value.
      • withStatus

        public ServiceImpactingEvent withStatus​(ServiceImpactingEventStatus status)
        Set the status property: Status of the service impacting event.
        Parameters:
        status - the status value to set.
        Returns:
        the ServiceImpactingEvent object itself.
      • incidentProperties

        public ServiceImpactingEventIncidentProperties incidentProperties()
        Get the incidentProperties property: Properties of the service impacting event.
        Returns:
        the incidentProperties value.
      • withIncidentProperties

        public ServiceImpactingEvent withIncidentProperties​(ServiceImpactingEventIncidentProperties incidentProperties)
        Set the incidentProperties property: Properties of the service impacting event.
        Parameters:
        incidentProperties - the incidentProperties value to set.
        Returns:
        the ServiceImpactingEvent object itself.
      • validate

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