Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
disk encryption set update resource.
/**
* disk encryption set update resource.
*/
@JsonFlatten
public class DiskEncryptionSetUpdate {
Possible values include: 'EncryptionAtRestWithCustomerKey',
'EncryptionAtRestWithPlatformAndCustomerKeys'.
/**
* Possible values include: 'EncryptionAtRestWithCustomerKey',
* 'EncryptionAtRestWithPlatformAndCustomerKeys'.
*/
@JsonProperty(value = "properties.encryptionType")
private DiskEncryptionSetType encryptionType;
The activeKey property.
/**
* The activeKey property.
*/
@JsonProperty(value = "properties.activeKey")
private KeyForDiskEncryptionSet activeKey;
Resource tags.
/**
* Resource tags.
*/
@JsonProperty(value = "tags")
private Map<String, String> tags;
Get possible values include: 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.
Returns: the encryptionType value
/**
* Get possible values include: 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.
*
* @return the encryptionType value
*/
public DiskEncryptionSetType encryptionType() {
return this.encryptionType;
}
Set possible values include: 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.
Params: - encryptionType – the encryptionType value to set
Returns: the DiskEncryptionSetUpdate object itself.
/**
* Set possible values include: 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.
*
* @param encryptionType the encryptionType value to set
* @return the DiskEncryptionSetUpdate object itself.
*/
public DiskEncryptionSetUpdate withEncryptionType(DiskEncryptionSetType encryptionType) {
this.encryptionType = encryptionType;
return this;
}
Get the activeKey value.
Returns: the activeKey value
/**
* Get the activeKey value.
*
* @return the activeKey value
*/
public KeyForDiskEncryptionSet activeKey() {
return this.activeKey;
}
Set the activeKey value.
Params: - activeKey – the activeKey value to set
Returns: the DiskEncryptionSetUpdate object itself.
/**
* Set the activeKey value.
*
* @param activeKey the activeKey value to set
* @return the DiskEncryptionSetUpdate object itself.
*/
public DiskEncryptionSetUpdate withActiveKey(KeyForDiskEncryptionSet activeKey) {
this.activeKey = activeKey;
return this;
}
Get resource tags.
Returns: the tags value
/**
* Get resource tags.
*
* @return the tags value
*/
public Map<String, String> tags() {
return this.tags;
}
Set resource tags.
Params: - tags – the tags value to set
Returns: the DiskEncryptionSetUpdate object itself.
/**
* Set resource tags.
*
* @param tags the tags value to set
* @return the DiskEncryptionSetUpdate object itself.
*/
public DiskEncryptionSetUpdate withTags(Map<String, String> tags) {
this.tags = tags;
return this;
}
}