
com.pulumi.azurenative.loadtestservice.outputs.EncryptionPropertiesResponse Maven / Gradle / Ivy
// *** 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.loadtestservice.outputs;
import com.pulumi.azurenative.loadtestservice.outputs.EncryptionPropertiesIdentityResponse;
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 EncryptionPropertiesResponse {
/**
* @return All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
*
*/
private @Nullable EncryptionPropertiesIdentityResponse identity;
/**
* @return key encryption key Url, versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
*
*/
private @Nullable String keyUrl;
private EncryptionPropertiesResponse() {}
/**
* @return All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return key encryption key Url, versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
*
*/
public Optional keyUrl() {
return Optional.ofNullable(this.keyUrl);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EncryptionPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable EncryptionPropertiesIdentityResponse identity;
private @Nullable String keyUrl;
public Builder() {}
public Builder(EncryptionPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.identity = defaults.identity;
this.keyUrl = defaults.keyUrl;
}
@CustomType.Setter
public Builder identity(@Nullable EncryptionPropertiesIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder keyUrl(@Nullable String keyUrl) {
this.keyUrl = keyUrl;
return this;
}
public EncryptionPropertiesResponse build() {
final var _resultValue = new EncryptionPropertiesResponse();
_resultValue.identity = identity;
_resultValue.keyUrl = keyUrl;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy