ResourceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. ResourceSettings
- com.
Implements
public class ResourceSettings
implements JsonSerializable<ResourceSettings>
Gets or sets the resource settings.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceSettings() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| String |
resourceType()
Get the resource |
| String |
targetResourceGroupName()
Get the target |
| String |
targetResourceName()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Resource |
withTargetResourceGroupName(String targetResourceGroupName)
Set the target |
|
Resource |
withTargetResourceName(String targetResourceName)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
ResourceSettings
public ResourceSettings()
Creates an instance of ResourceSettings class.
Method Details
fromJson
public static ResourceSettings fromJson(JsonReader jsonReader)
Reads an instance of ResourceSettings from the JsonReader.
Parameters:
Returns:
Throws:
resourceType
public String resourceType()
Get the resourceType property: The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
Returns:
targetResourceGroupName
public String targetResourceGroupName()
Get the targetResourceGroupName property: Gets or sets the target resource group name.
Returns:
targetResourceName
public String targetResourceName()
Get the targetResourceName property: Gets or sets the target Resource name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withTargetResourceGroupName
public ResourceSettings withTargetResourceGroupName(String targetResourceGroupName)
Set the targetResourceGroupName property: Gets or sets the target resource group name.
Parameters:
Returns:
withTargetResourceName
public ResourceSettings withTargetResourceName(String targetResourceName)
Set the targetResourceName property: Gets or sets the target Resource name.
Parameters:
Returns: