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