DiskEncryptionSetParameters Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. DiskEncryptionSetParameters
- com.
Implements
public final class DiskEncryptionSetParameters
implements JsonSerializable<DiskEncryptionSetParameters>
The ARM resource id of the disk encryption set.
Constructor Summary
| Constructor | Description |
|---|---|
| DiskEncryptionSetParameters() |
Creates an instance of Disk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
| String |
id()
Get the id property: The resource id of the disk encryption set. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Disk |
withId(String id)
Set the id property: The resource id of the disk encryption set. |
Methods inherited from java.lang.Object
Constructor Details
DiskEncryptionSetParameters
public DiskEncryptionSetParameters()
Creates an instance of DiskEncryptionSetParameters class.
Method Details
fromJson
public static DiskEncryptionSetParameters fromJson(JsonReader jsonReader)
Reads an instance of DiskEncryptionSetParameters from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The resource id of the disk encryption set. The ARM resource id of the disk encryption set. The resource should be in the same subscription as the Batch account.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public DiskEncryptionSetParameters withId(String id)
Set the id property: The resource id of the disk encryption set. The ARM resource id of the disk encryption set. The resource should be in the same subscription as the Batch account.
Parameters:
Returns: