AvailabilityStatusPropertiesRecentlyResolved Class
- java.
lang. Object - com.
azure. resourcemanager. resourcehealth. models. AvailabilityStatusPropertiesRecentlyResolved
- com.
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 Availability |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
resolvedTime()
Get the resolved |
Offset |
unavailableOccuredTime()
Get the unavailable |
String |
unavailableSummary()
Get the unavailable |
void |
validate()
Validates the instance. |
Availability |
withResolvedTime(OffsetDateTime resolvedTime)
Set the resolved |
Availability |
withUnavailableOccuredTime(OffsetDateTime unavailableOccuredTime)
Set the unavailable |
Availability |
withUnavailableSummary(String unavailableSummary)
Set the 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:
unavailableOccuredTime
public OffsetDateTime unavailableOccuredTime()
Get the unavailableOccuredTime property: Timestamp for when the availabilityState changed to Unavailable.
Returns:
unavailableSummary
public String unavailableSummary()
Get the unavailableSummary property: Brief description of cause of the resource becoming unavailable.
Returns:
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:
Returns:
withUnavailableOccuredTime
public AvailabilityStatusPropertiesRecentlyResolved withUnavailableOccuredTime(OffsetDateTime unavailableOccuredTime)
Set the unavailableOccuredTime property: Timestamp for when the availabilityState changed to Unavailable.
Parameters:
Returns:
withUnavailableSummary
public AvailabilityStatusPropertiesRecentlyResolved withUnavailableSummary(String unavailableSummary)
Set the unavailableSummary property: Brief description of cause of the resource becoming unavailable.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for