Class AvailabilityStatusInner


  • public final class AvailabilityStatusInner
    extends Object
    availabilityStatus of a resource.
    • Constructor Detail

      • AvailabilityStatusInner

        public AvailabilityStatusInner()
    • Method Detail

      • id

        public String id()
        Get the id property: Azure Resource Manager Identity for the availabilityStatuses resource.
        Returns:
        the id value.
      • withId

        public AvailabilityStatusInner withId​(String id)
        Set the id property: Azure Resource Manager Identity for the availabilityStatuses resource.
        Parameters:
        id - the id value to set.
        Returns:
        the AvailabilityStatusInner object itself.
      • name

        public String name()
        Get the name property: current.
        Returns:
        the name value.
      • withName

        public AvailabilityStatusInner withName​(String name)
        Set the name property: current.
        Parameters:
        name - the name value to set.
        Returns:
        the AvailabilityStatusInner object itself.
      • type

        public String type()
        Get the type property: Microsoft.ResourceHealth/AvailabilityStatuses.
        Returns:
        the type value.
      • withType

        public AvailabilityStatusInner withType​(String type)
        Set the type property: Microsoft.ResourceHealth/AvailabilityStatuses.
        Parameters:
        type - the type value to set.
        Returns:
        the AvailabilityStatusInner object itself.
      • location

        public String location()
        Get the location property: Azure Resource Manager geo location of the resource.
        Returns:
        the location value.
      • withLocation

        public AvailabilityStatusInner withLocation​(String location)
        Set the location property: Azure Resource Manager geo location of the resource.
        Parameters:
        location - the location value to set.
        Returns:
        the AvailabilityStatusInner object itself.
      • properties

        public AvailabilityStatusProperties properties()
        Get the properties property: Properties of availability state.
        Returns:
        the properties value.
      • withProperties

        public AvailabilityStatusInner withProperties​(AvailabilityStatusProperties properties)
        Set the properties property: Properties of availability state.
        Parameters:
        properties - the properties value to set.
        Returns:
        the AvailabilityStatusInner object itself.
      • validate

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