DatabaseCheckNameRequest Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. DatabaseCheckNameRequest
- com.
Implements
public final class DatabaseCheckNameRequest
implements JsonSerializable<DatabaseCheckNameRequest>
The result returned from a database check name availability request.
Constructor Summary
| Constructor | Description |
|---|---|
| DatabaseCheckNameRequest() |
Creates an instance of Database |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
| String |
name()
Get the name property: Resource name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Type |
type()
Get the type property: The type of resource, for instance Microsoft. |
| void |
validate()
Validates the instance. |
|
Database |
withName(String name)
Set the name property: Resource name. |
|
Database |
withType(Type type)
Set the type property: The type of resource, for instance Microsoft. |
Methods inherited from java.lang.Object
Constructor Details
DatabaseCheckNameRequest
public DatabaseCheckNameRequest()
Creates an instance of DatabaseCheckNameRequest class.
Method Details
fromJson
public static DatabaseCheckNameRequest fromJson(JsonReader jsonReader)
Reads an instance of DatabaseCheckNameRequest from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Resource name.
Returns:
toJson
type
public Type type()
Get the type property: The type of resource, for instance Microsoft.Synapse/workspaces/kustoPools/databases.
Returns:
validate
public void validate()
Validates the instance.
withName
public DatabaseCheckNameRequest withName(String name)
Set the name property: Resource name.
Parameters:
Returns:
withType
public DatabaseCheckNameRequest withType(Type type)
Set the type property: The type of resource, for instance Microsoft.Synapse/workspaces/kustoPools/databases.
Parameters:
Returns: