IssueProperties Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. workspaces. models. IssueProperties
- com.
Implements
public final class IssueProperties
implements JsonSerializable<IssueProperties>
The issue properties.
Constructor Summary
| Constructor | Description |
|---|---|
| IssueProperties() |
Creates an instance of Issue |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Background |
background()
Get the background property: The issue background information. |
|
static
Issue |
fromJson(JsonReader jsonReader)
Reads an instance of Issue |
|
Offset |
impactTime()
Get the impact |
|
List<Investigation |
investigations()
Get the investigations property: The list of investigations in the issue. |
| int |
investigationsCount()
Get the investigations |
| Notifications |
notifications()
Get the notifications property: The issue notification settings. |
|
Resource |
provisioningState()
Get the provisioning |
| String |
severity()
Get the severity property: The issue severity. |
| Status |
status()
Get the status property: The issue status. |
| String |
title()
Get the title property: The issue title. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Issue |
withBackground(Background background)
Set the background property: The issue background information. |
|
Issue |
withImpactTime(OffsetDateTime impactTime)
Set the impact |
|
Issue |
withNotifications(Notifications notifications)
Set the notifications property: The issue notification settings. |
|
Issue |
withSeverity(String severity)
Set the severity property: The issue severity. |
|
Issue |
withStatus(Status status)
Set the status property: The issue status. |
|
Issue |
withTitle(String title)
Set the title property: The issue title. |
Methods inherited from java.lang.Object
Constructor Details
IssueProperties
public IssueProperties()
Creates an instance of IssueProperties class.
Method Details
background
public Background background()
Get the background property: The issue background information.
Returns:
fromJson
public static IssueProperties fromJson(JsonReader jsonReader)
Reads an instance of IssueProperties from the JsonReader.
Parameters:
Returns:
Throws:
impactTime
public OffsetDateTime impactTime()
Get the impactTime property: The issue impact time (in UTC).
Returns:
investigations
public List<InvestigationMetadata> investigations()
Get the investigations property: The list of investigations in the issue.
Returns:
investigationsCount
public int investigationsCount()
Get the investigationsCount property: The number of investigations in the issue.
Returns:
notifications
public Notifications notifications()
Get the notifications property: The issue notification settings.
Returns:
provisioningState
public ResourceProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
severity
public String severity()
Get the severity property: The issue severity.
Returns:
status
public Status status()
Get the status property: The issue status.
Returns:
title
public String title()
Get the title property: The issue title.
Returns:
toJson
withBackground
public IssueProperties withBackground(Background background)
Set the background property: The issue background information.
Parameters:
Returns:
withImpactTime
public IssueProperties withImpactTime(OffsetDateTime impactTime)
Set the impactTime property: The issue impact time (in UTC).
Parameters:
Returns:
withNotifications
public IssueProperties withNotifications(Notifications notifications)
Set the notifications property: The issue notification settings.
Parameters:
Returns:
withSeverity
public IssueProperties withSeverity(String severity)
Set the severity property: The issue severity.
Parameters:
Returns:
withStatus
public IssueProperties withStatus(Status status)
Set the status property: The issue status.
Parameters:
Returns:
withTitle
public IssueProperties withTitle(String title)
Set the title property: The issue title.
Parameters:
Returns: