Class ScriptCheckNameRequest

java.lang.Object
com.azure.resourcemanager.kusto.models.ScriptCheckNameRequest

public final class ScriptCheckNameRequest extends Object
A script name availability request.
  • Constructor Details

    • ScriptCheckNameRequest

      public ScriptCheckNameRequest()
      Creates an instance of ScriptCheckNameRequest class.
  • Method Details

    • name

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

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

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

      public ScriptCheckNameRequest withType(String type)
      Set the type property: The type of resource, Microsoft.Kusto/clusters/databases/scripts.
      Parameters:
      type - the type value to set.
      Returns:
      the ScriptCheckNameRequest object itself.
    • validate

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