ResourceMoveDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ResourceMoveDefinition
- com.
Implements
public final class ResourceMoveDefinition
implements JsonSerializable<ResourceMoveDefinition>
Contains the information necessary to perform a resource move (rename).
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceMoveDefinition() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| String |
id()
Get the id property: The target ID for the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Resource |
withId(String id)
Set the id property: The target ID for the resource. |
Methods inherited from java.lang.Object
Constructor Details
ResourceMoveDefinition
public ResourceMoveDefinition()
Creates an instance of ResourceMoveDefinition class.
Method Details
fromJson
public static ResourceMoveDefinition fromJson(JsonReader jsonReader)
Reads an instance of ResourceMoveDefinition from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The target ID for the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public ResourceMoveDefinition withId(String id)
Set the id property: The target ID for the resource.
Parameters:
Returns: