İngilizce dilinde oku

Aracılığıyla paylaş


EmergingIssue Class

  • java.lang.Object
    • com.azure.resourcemanager.resourcehealth.fluent.models.EmergingIssue

Implements

public final class EmergingIssue
implements JsonSerializable<EmergingIssue>

On-going emerging issue from azure status.

Constructor Summary

Constructor Description
EmergingIssue()

Creates an instance of EmergingIssue class.

Method Summary

Modifier and Type Method and Description
static EmergingIssue fromJson(JsonReader jsonReader)

Reads an instance of EmergingIssue from the JsonReader.

OffsetDateTime refreshTimestamp()

Get the refreshTimestamp property: Timestamp for when last time refreshed for ongoing emerging issue.

List<StatusActiveEvent> statusActiveEvents()

Get the statusActiveEvents property: The list of emerging issues of active event type.

List<StatusBanner> statusBanners()

Get the statusBanners property: The list of emerging issues of banner type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EmergingIssue withRefreshTimestamp(OffsetDateTime refreshTimestamp)

Set the refreshTimestamp property: Timestamp for when last time refreshed for ongoing emerging issue.

EmergingIssue withStatusActiveEvents(List<StatusActiveEvent> statusActiveEvents)

Set the statusActiveEvents property: The list of emerging issues of active event type.

EmergingIssue withStatusBanners(List<StatusBanner> statusBanners)

Set the statusBanners property: The list of emerging issues of banner type.

Methods inherited from java.lang.Object

Constructor Details

EmergingIssue

public EmergingIssue()

Creates an instance of EmergingIssue class.

Method Details

fromJson

public static EmergingIssue fromJson(JsonReader jsonReader)

Reads an instance of EmergingIssue from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EmergingIssue if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the EmergingIssue.

refreshTimestamp

public OffsetDateTime refreshTimestamp()

Get the refreshTimestamp property: Timestamp for when last time refreshed for ongoing emerging issue.

Returns:

the refreshTimestamp value.

statusActiveEvents

public List statusActiveEvents()

Get the statusActiveEvents property: The list of emerging issues of active event type.

Returns:

the statusActiveEvents value.

statusBanners

public List statusBanners()

Get the statusBanners property: The list of emerging issues of banner type.

Returns:

the statusBanners value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRefreshTimestamp

public EmergingIssue withRefreshTimestamp(OffsetDateTime refreshTimestamp)

Set the refreshTimestamp property: Timestamp for when last time refreshed for ongoing emerging issue.

Parameters:

refreshTimestamp - the refreshTimestamp value to set.

Returns:

the EmergingIssue object itself.

withStatusActiveEvents

public EmergingIssue withStatusActiveEvents(List statusActiveEvents)

Set the statusActiveEvents property: The list of emerging issues of active event type.

Parameters:

statusActiveEvents - the statusActiveEvents value to set.

Returns:

the EmergingIssue object itself.

withStatusBanners

public EmergingIssue withStatusBanners(List statusBanners)

Set the statusBanners property: The list of emerging issues of banner type.

Parameters:

statusBanners - the statusBanners value to set.

Returns:

the EmergingIssue object itself.

Applies to

Azure SDK for Java

Preview