Class SecurityAlertTimelineItem
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityTimelineItem
com.azure.resourcemanager.securityinsights.models.SecurityAlertTimelineItem
Represents security alert timeline item.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the alertType property: The name of the alert type.Get the azureResourceId property: The alert azure resource id.Get the description property: The alert description.Get the displayName property: The alert name.Get the endTimeUtc property: The alert end time.Get the productName property: The alert product name.severity()
Get the severity property: The alert severity.Get the startTimeUtc property: The alert start time.Get the timeGenerated property: The alert generated time.void
validate()
Validates the instance.withAlertType
(String alertType) Set the alertType property: The name of the alert type.withAzureResourceId
(String azureResourceId) Set the azureResourceId property: The alert azure resource id.withDescription
(String description) Set the description property: The alert description.withDisplayName
(String displayName) Set the displayName property: The alert name.withEndTimeUtc
(OffsetDateTime endTimeUtc) Set the endTimeUtc property: The alert end time.withProductName
(String productName) Set the productName property: The alert product name.withSeverity
(AlertSeverity severity) Set the severity property: The alert severity.withStartTimeUtc
(OffsetDateTime startTimeUtc) Set the startTimeUtc property: The alert start time.withTimeGenerated
(OffsetDateTime timeGenerated) Set the timeGenerated property: The alert generated time.
-
Constructor Details
-
SecurityAlertTimelineItem
public SecurityAlertTimelineItem()
-
-
Method Details
-
azureResourceId
Get the azureResourceId property: The alert azure resource id.- Returns:
- the azureResourceId value.
-
withAzureResourceId
Set the azureResourceId property: The alert azure resource id.- Parameters:
azureResourceId
- the azureResourceId value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
productName
Get the productName property: The alert product name.- Returns:
- the productName value.
-
withProductName
Set the productName property: The alert product name.- Parameters:
productName
- the productName value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
description
Get the description property: The alert description.- Returns:
- the description value.
-
withDescription
Set the description property: The alert description.- Parameters:
description
- the description value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
displayName
Get the displayName property: The alert name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The alert name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
severity
Get the severity property: The alert severity.- Returns:
- the severity value.
-
withSeverity
Set the severity property: The alert severity.- Parameters:
severity
- the severity value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
endTimeUtc
Get the endTimeUtc property: The alert end time.- Returns:
- the endTimeUtc value.
-
withEndTimeUtc
Set the endTimeUtc property: The alert end time.- Parameters:
endTimeUtc
- the endTimeUtc value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
startTimeUtc
Get the startTimeUtc property: The alert start time.- Returns:
- the startTimeUtc value.
-
withStartTimeUtc
Set the startTimeUtc property: The alert start time.- Parameters:
startTimeUtc
- the startTimeUtc value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
timeGenerated
Get the timeGenerated property: The alert generated time.- Returns:
- the timeGenerated value.
-
withTimeGenerated
Set the timeGenerated property: The alert generated time.- Parameters:
timeGenerated
- the timeGenerated value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
alertType
Get the alertType property: The name of the alert type.- Returns:
- the alertType value.
-
withAlertType
Set the alertType property: The name of the alert type.- Parameters:
alertType
- the alertType value to set.- Returns:
- the SecurityAlertTimelineItem object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEntityTimelineItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-