
com.pulumi.azurenative.compute.outputs.RestorePointEncryptionResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.compute.outputs;
import com.pulumi.azurenative.compute.outputs.DiskEncryptionSetParametersResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RestorePointEncryptionResponse {
/**
* @return Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.
*
*/
private @Nullable DiskEncryptionSetParametersResponse diskEncryptionSet;
/**
* @return The type of key used to encrypt the data of the disk restore point.
*
*/
private @Nullable String type;
private RestorePointEncryptionResponse() {}
/**
* @return Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.
*
*/
public Optional diskEncryptionSet() {
return Optional.ofNullable(this.diskEncryptionSet);
}
/**
* @return The type of key used to encrypt the data of the disk restore point.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RestorePointEncryptionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable DiskEncryptionSetParametersResponse diskEncryptionSet;
private @Nullable String type;
public Builder() {}
public Builder(RestorePointEncryptionResponse defaults) {
Objects.requireNonNull(defaults);
this.diskEncryptionSet = defaults.diskEncryptionSet;
this.type = defaults.type;
}
@CustomType.Setter
public Builder diskEncryptionSet(@Nullable DiskEncryptionSetParametersResponse diskEncryptionSet) {
this.diskEncryptionSet = diskEncryptionSet;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public RestorePointEncryptionResponse build() {
final var _resultValue = new RestorePointEncryptionResponse();
_resultValue.diskEncryptionSet = diskEncryptionSet;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy