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