Class CheckNameRequest
java.lang.Object
com.azure.resourcemanager.kusto.models.CheckNameRequest
The result returned from a database check name availability request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: Resource name.type()
Get the type property: The type of resource, for instance Microsoft.Kusto/clusters/databases.void
validate()
Validates the instance.Set the name property: Resource name.Set the type property: The type of resource, for instance Microsoft.Kusto/clusters/databases.
-
Constructor Details
-
CheckNameRequest
public CheckNameRequest()
-
-
Method Details
-
name
Get the name property: Resource name.- Returns:
- the name value.
-
withName
Set the name property: Resource name.- Parameters:
name
- the name value to set.- Returns:
- the CheckNameRequest object itself.
-
type
Get the type property: The type of resource, for instance Microsoft.Kusto/clusters/databases.- Returns:
- the type value.
-
withType
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.
-