Class ServiceImpactingEventIncidentProperties
- java.lang.Object
-
- com.azure.resourcemanager.resourcehealth.models.ServiceImpactingEventIncidentProperties
-
public final class ServiceImpactingEventIncidentProperties extends Object
Properties of the service impacting event.
-
-
Constructor Summary
Constructors Constructor Description ServiceImpactingEventIncidentProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
incidentType()
Get the incidentType property: Type of Event.String
region()
Get the region property: Region impacted by the event.String
service()
Get the service property: Service impacted by the event.String
title()
Get the title property: Title of the incident.void
validate()
Validates the instance.ServiceImpactingEventIncidentProperties
withIncidentType(String incidentType)
Set the incidentType property: Type of Event.ServiceImpactingEventIncidentProperties
withRegion(String region)
Set the region property: Region impacted by the event.ServiceImpactingEventIncidentProperties
withService(String service)
Set the service property: Service impacted by the event.ServiceImpactingEventIncidentProperties
withTitle(String title)
Set the title property: Title of the incident.
-
-
-
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.
-
-