Class ScriptCheckNameRequest
- java.lang.Object
-
- com.azure.resourcemanager.kusto.models.ScriptCheckNameRequest
-
public final class ScriptCheckNameRequest extends Object
A script name availability request.
-
-
Constructor Summary
Constructors Constructor Description ScriptCheckNameRequest()
Creates an instance of ScriptCheckNameRequest class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Script name.String
type()
Get the type property: The type of resource, Microsoft.Kusto/clusters/databases/scripts.void
validate()
Validates the instance.ScriptCheckNameRequest
withName(String name)
Set the name property: Script name.ScriptCheckNameRequest
withType(String type)
Set the type property: The type of resource, Microsoft.Kusto/clusters/databases/scripts.
-
-
-
Method Detail
-
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.
-
-