
com.pulumi.azurenative.devices.outputs.EncryptionPropertiesDescriptionResponse 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.devices.outputs;
import com.pulumi.azurenative.devices.outputs.KeyVaultKeyPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EncryptionPropertiesDescriptionResponse {
/**
* @return The source of the key.
*
*/
private @Nullable String keySource;
/**
* @return The properties of the KeyVault key.
*
*/
private @Nullable List keyVaultProperties;
private EncryptionPropertiesDescriptionResponse() {}
/**
* @return The source of the key.
*
*/
public Optional keySource() {
return Optional.ofNullable(this.keySource);
}
/**
* @return The properties of the KeyVault key.
*
*/
public List keyVaultProperties() {
return this.keyVaultProperties == null ? List.of() : this.keyVaultProperties;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EncryptionPropertiesDescriptionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String keySource;
private @Nullable List keyVaultProperties;
public Builder() {}
public Builder(EncryptionPropertiesDescriptionResponse defaults) {
Objects.requireNonNull(defaults);
this.keySource = defaults.keySource;
this.keyVaultProperties = defaults.keyVaultProperties;
}
@CustomType.Setter
public Builder keySource(@Nullable String keySource) {
this.keySource = keySource;
return this;
}
@CustomType.Setter
public Builder keyVaultProperties(@Nullable List keyVaultProperties) {
this.keyVaultProperties = keyVaultProperties;
return this;
}
public Builder keyVaultProperties(KeyVaultKeyPropertiesResponse... keyVaultProperties) {
return keyVaultProperties(List.of(keyVaultProperties));
}
public EncryptionPropertiesDescriptionResponse build() {
final var _resultValue = new EncryptionPropertiesDescriptionResponse();
_resultValue.keySource = keySource;
_resultValue.keyVaultProperties = keyVaultProperties;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy