Class CheckAvailabilityResultInner


  • public final class CheckAvailabilityResultInner
    extends com.azure.core.management.Resource
    Description of a CheckAvailability resource.
    • Constructor Detail

      • CheckAvailabilityResultInner

        public CheckAvailabilityResultInner()
    • Method Detail

      • isAvailiable

        public Boolean isAvailiable()
        Get the isAvailiable property: True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false.
        Returns:
        the isAvailiable value.
      • withIsAvailiable

        public CheckAvailabilityResultInner withIsAvailiable​(Boolean isAvailiable)
        Set the isAvailiable property: True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false.
        Parameters:
        isAvailiable - the isAvailiable value to set.
        Returns:
        the CheckAvailabilityResultInner object itself.
      • sku

        public Sku sku()
        Get the sku property: The sku of the created namespace.
        Returns:
        the sku value.
      • withSku

        public CheckAvailabilityResultInner withSku​(Sku sku)
        Set the sku property: The sku of the created namespace.
        Parameters:
        sku - the sku value to set.
        Returns:
        the CheckAvailabilityResultInner object itself.
      • validate

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