AvailabilityStatusPropertiesRecentlyResolved Class

  • java.lang.Object
    • com.azure.resourcemanager.resourcehealth.models.AvailabilityStatusPropertiesRecentlyResolved

public final class AvailabilityStatusPropertiesRecentlyResolved

An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned.

Constructor Summary

Constructor Description
AvailabilityStatusPropertiesRecentlyResolved()

Creates an instance of AvailabilityStatusPropertiesRecentlyResolved class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime resolvedTime()

Get the resolvedTime property: Timestamp when the availabilityState changes to Available.

OffsetDateTime unavailableOccuredTime()

Get the unavailableOccuredTime property: Timestamp for when the availabilityState changed to Unavailable.

String unavailableSummary()

Get the unavailableSummary property: Brief description of cause of the resource becoming unavailable.

void validate()

Validates the instance.

AvailabilityStatusPropertiesRecentlyResolved withResolvedTime(OffsetDateTime resolvedTime)

Set the resolvedTime property: Timestamp when the availabilityState changes to Available.

AvailabilityStatusPropertiesRecentlyResolved withUnavailableOccuredTime(OffsetDateTime unavailableOccuredTime)

Set the unavailableOccuredTime property: Timestamp for when the availabilityState changed to Unavailable.

AvailabilityStatusPropertiesRecentlyResolved withUnavailableSummary(String unavailableSummary)

Set the unavailableSummary property: Brief description of cause of the resource becoming unavailable.

Methods inherited from java.lang.Object

Constructor Details

AvailabilityStatusPropertiesRecentlyResolved

public AvailabilityStatusPropertiesRecentlyResolved()

Creates an instance of AvailabilityStatusPropertiesRecentlyResolved class.

Method Details

resolvedTime

public OffsetDateTime resolvedTime()

Get the resolvedTime property: Timestamp when the availabilityState changes to Available.

Returns:

the resolvedTime value.

unavailableOccuredTime

public OffsetDateTime unavailableOccuredTime()

Get the unavailableOccuredTime property: Timestamp for when the availabilityState changed to Unavailable.

Returns:

the unavailableOccuredTime value.

unavailableSummary

public String unavailableSummary()

Get the unavailableSummary property: Brief description of cause of the resource becoming unavailable.

Returns:

the unavailableSummary value.

validate

public void validate()

Validates the instance.

withResolvedTime

public AvailabilityStatusPropertiesRecentlyResolved withResolvedTime(OffsetDateTime resolvedTime)

Set the resolvedTime property: Timestamp when the availabilityState changes to Available.

Parameters:

resolvedTime - the resolvedTime value to set.

Returns:

the AvailabilityStatusPropertiesRecentlyResolved object itself.

withUnavailableOccuredTime

public AvailabilityStatusPropertiesRecentlyResolved withUnavailableOccuredTime(OffsetDateTime unavailableOccuredTime)

Set the unavailableOccuredTime property: Timestamp for when the availabilityState changed to Unavailable.

Parameters:

unavailableOccuredTime - the unavailableOccuredTime value to set.

Returns:

the AvailabilityStatusPropertiesRecentlyResolved object itself.

withUnavailableSummary

public AvailabilityStatusPropertiesRecentlyResolved withUnavailableSummary(String unavailableSummary)

Set the unavailableSummary property: Brief description of cause of the resource becoming unavailable.

Parameters:

unavailableSummary - the unavailableSummary value to set.

Returns:

the AvailabilityStatusPropertiesRecentlyResolved object itself.

Applies to