
com.pulumi.azurenative.compute.outputs.EncryptionResponse 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EncryptionResponse {
/**
* @return ResourceId of the disk encryption set to use for enabling encryption at rest.
*
*/
private @Nullable String diskEncryptionSetId;
/**
* @return The type of key used to encrypt the data of the disk.
*
*/
private @Nullable String type;
private EncryptionResponse() {}
/**
* @return ResourceId of the disk encryption set to use for enabling encryption at rest.
*
*/
public Optional diskEncryptionSetId() {
return Optional.ofNullable(this.diskEncryptionSetId);
}
/**
* @return The type of key used to encrypt the data of the disk.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EncryptionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String diskEncryptionSetId;
private @Nullable String type;
public Builder() {}
public Builder(EncryptionResponse defaults) {
Objects.requireNonNull(defaults);
this.diskEncryptionSetId = defaults.diskEncryptionSetId;
this.type = defaults.type;
}
@CustomType.Setter
public Builder diskEncryptionSetId(@Nullable String diskEncryptionSetId) {
this.diskEncryptionSetId = diskEncryptionSetId;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public EncryptionResponse build() {
final var _resultValue = new EncryptionResponse();
_resultValue.diskEncryptionSetId = diskEncryptionSetId;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy