ResourceGroupResourceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. ResourceSettings - com.
azure. resourcemanager. resourcemover. models. ResourceGroupResourceSettings
- com.
- com.
public final class ResourceGroupResourceSettings
extends ResourceSettings
Defines the resource group resource settings.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceGroupResourceSettings() |
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 |
|
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 ResourceSettings
Methods inherited from java.lang.Object
Constructor Details
ResourceGroupResourceSettings
public ResourceGroupResourceSettings()
Creates an instance of ResourceGroupResourceSettings class.
Method Details
fromJson
public static ResourceGroupResourceSettings fromJson(JsonReader jsonReader)
Reads an instance of ResourceGroupResourceSettings 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.
Overrides:
ResourceGroupResourceSettings.resourceType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ResourceGroupResourceSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ResourceGroupResourceSettings.validate()withTargetResourceGroupName
public ResourceGroupResourceSettings withTargetResourceGroupName(String targetResourceGroupName)
Set the targetResourceGroupName property: Gets or sets the target resource group name.
Overrides:
ResourceGroupResourceSettings.withTargetResourceGroupName(String targetResourceGroupName)Parameters:
withTargetResourceName
public ResourceGroupResourceSettings withTargetResourceName(String targetResourceName)
Set the targetResourceName property: Gets or sets the target Resource name.
Overrides:
ResourceGroupResourceSettings.withTargetResourceName(String targetResourceName)Parameters: