Class AvailabilityStatusPropertiesRecentlyResolved


  • public final class AvailabilityStatusPropertiesRecentlyResolved
    extends Object
    An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned.
    • Constructor Detail

      • AvailabilityStatusPropertiesRecentlyResolved

        public AvailabilityStatusPropertiesRecentlyResolved()
    • Method Detail

      • unavailableOccurredTime

        public OffsetDateTime unavailableOccurredTime()
        Get the unavailableOccurredTime property: Timestamp for when the availabilityState changed to Unavailable.
        Returns:
        the unavailableOccurredTime value.
      • withUnavailableOccurredTime

        public AvailabilityStatusPropertiesRecentlyResolved withUnavailableOccurredTime​(OffsetDateTime unavailableOccurredTime)
        Set the unavailableOccurredTime property: Timestamp for when the availabilityState changed to Unavailable.
        Parameters:
        unavailableOccurredTime - the unavailableOccurredTime value to set.
        Returns:
        the AvailabilityStatusPropertiesRecentlyResolved object itself.
      • resolvedTime

        public OffsetDateTime resolvedTime()
        Get the resolvedTime property: Timestamp when the availabilityState changes to Available.
        Returns:
        the resolvedTime value.
      • 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.
      • unavailabilitySummary

        public String unavailabilitySummary()
        Get the unavailabilitySummary property: Brief description of cause of the resource becoming unavailable.
        Returns:
        the unavailabilitySummary value.
      • withUnavailabilitySummary

        public AvailabilityStatusPropertiesRecentlyResolved withUnavailabilitySummary​(String unavailabilitySummary)
        Set the unavailabilitySummary property: Brief description of cause of the resource becoming unavailable.
        Parameters:
        unavailabilitySummary - the unavailabilitySummary value to set.
        Returns:
        the AvailabilityStatusPropertiesRecentlyResolved object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.