public final class Encryption extends Object
Constructor and Description |
---|
Encryption() |
Modifier and Type | Method and Description |
---|---|
String |
diskEncryptionSetId()
Get the diskEncryptionSetId property: ResourceId of the disk encryption set to use for enabling encryption at
rest.
|
EncryptionType |
type()
Get the type property: The type of key used to encrypt the data of the disk.
|
void |
validate()
Validates the instance.
|
Encryption |
withDiskEncryptionSetId(String diskEncryptionSetId)
Set the diskEncryptionSetId property: ResourceId of the disk encryption set to use for enabling encryption at
rest.
|
Encryption |
withType(EncryptionType type)
Set the type property: The type of key used to encrypt the data of the disk.
|
public String diskEncryptionSetId()
public Encryption withDiskEncryptionSetId(String diskEncryptionSetId)
diskEncryptionSetId
- the diskEncryptionSetId value to set.public EncryptionType type()
public Encryption withType(EncryptionType type)
type
- the type value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.