Class CheckNameRequest


  • public final class CheckNameRequest
    extends Object
    The result returned from a database check name availability request.
    • Constructor Detail

      • CheckNameRequest

        public CheckNameRequest()
    • Method Detail

      • name

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

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

        public Type type()
        Get the type property: The type of resource, for instance Microsoft.Kusto/clusters/databases.
        Returns:
        the type value.
      • withType

        public CheckNameRequest withType​(Type type)
        Set the type property: The type of resource, for instance Microsoft.Kusto/clusters/databases.
        Parameters:
        type - the type value to set.
        Returns:
        the CheckNameRequest object itself.
      • validate

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