Class ServiceImpactingEventIncidentProperties


  • public final class ServiceImpactingEventIncidentProperties
    extends Object
    Properties of the service impacting event.
    • Constructor Detail

      • ServiceImpactingEventIncidentProperties

        public ServiceImpactingEventIncidentProperties()
    • Method Detail

      • title

        public String title()
        Get the title property: Title of the incident.
        Returns:
        the title value.
      • withTitle

        public ServiceImpactingEventIncidentProperties withTitle​(String title)
        Set the title property: Title of the incident.
        Parameters:
        title - the title value to set.
        Returns:
        the ServiceImpactingEventIncidentProperties object itself.
      • service

        public String service()
        Get the service property: Service impacted by the event.
        Returns:
        the service value.
      • withService

        public ServiceImpactingEventIncidentProperties withService​(String service)
        Set the service property: Service impacted by the event.
        Parameters:
        service - the service value to set.
        Returns:
        the ServiceImpactingEventIncidentProperties object itself.
      • region

        public String region()
        Get the region property: Region impacted by the event.
        Returns:
        the region value.
      • withRegion

        public ServiceImpactingEventIncidentProperties withRegion​(String region)
        Set the region property: Region impacted by the event.
        Parameters:
        region - the region value to set.
        Returns:
        the ServiceImpactingEventIncidentProperties object itself.
      • incidentType

        public String incidentType()
        Get the incidentType property: Type of Event.
        Returns:
        the incidentType value.
      • withIncidentType

        public ServiceImpactingEventIncidentProperties withIncidentType​(String incidentType)
        Set the incidentType property: Type of Event.
        Parameters:
        incidentType - the incidentType value to set.
        Returns:
        the ServiceImpactingEventIncidentProperties object itself.
      • validate

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