
com.pulumi.azurenative.containerstorage.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.containerstorage.outputs;
import com.pulumi.azurenative.containerstorage.outputs.ManagedServiceIdentityResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EncryptionResponse {
/**
* @return The managed service identities assigned to this resource.
*
*/
private @Nullable ManagedServiceIdentityResponse identity;
/**
* @return The name of the key vault key.
*
*/
private String keyName;
/**
* @return The URI of the key vault.
*
*/
private String keyVaultUri;
private EncryptionResponse() {}
/**
* @return The managed service identities assigned to this resource.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The name of the key vault key.
*
*/
public String keyName() {
return this.keyName;
}
/**
* @return The URI of the key vault.
*
*/
public String keyVaultUri() {
return this.keyVaultUri;
}
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 ManagedServiceIdentityResponse identity;
private String keyName;
private String keyVaultUri;
public Builder() {}
public Builder(EncryptionResponse defaults) {
Objects.requireNonNull(defaults);
this.identity = defaults.identity;
this.keyName = defaults.keyName;
this.keyVaultUri = defaults.keyVaultUri;
}
@CustomType.Setter
public Builder identity(@Nullable ManagedServiceIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder keyName(String keyName) {
if (keyName == null) {
throw new MissingRequiredPropertyException("EncryptionResponse", "keyName");
}
this.keyName = keyName;
return this;
}
@CustomType.Setter
public Builder keyVaultUri(String keyVaultUri) {
if (keyVaultUri == null) {
throw new MissingRequiredPropertyException("EncryptionResponse", "keyVaultUri");
}
this.keyVaultUri = keyVaultUri;
return this;
}
public EncryptionResponse build() {
final var _resultValue = new EncryptionResponse();
_resultValue.identity = identity;
_resultValue.keyName = keyName;
_resultValue.keyVaultUri = keyVaultUri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy