com.pulumi.azurenative.eventhub.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.eventhub.outputs;
import com.pulumi.azurenative.eventhub.outputs.KeyVaultPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EncryptionResponse {
/**
* @return Enumerates the possible value of keySource for Encryption
*
*/
private @Nullable String keySource;
/**
* @return Properties of KeyVault
*
*/
private @Nullable List keyVaultProperties;
/**
* @return Enable Infrastructure Encryption (Double Encryption)
*
*/
private @Nullable Boolean requireInfrastructureEncryption;
private EncryptionResponse() {}
/**
* @return Enumerates the possible value of keySource for Encryption
*
*/
public Optional keySource() {
return Optional.ofNullable(this.keySource);
}
/**
* @return Properties of KeyVault
*
*/
public List keyVaultProperties() {
return this.keyVaultProperties == null ? List.of() : this.keyVaultProperties;
}
/**
* @return Enable Infrastructure Encryption (Double Encryption)
*
*/
public Optional requireInfrastructureEncryption() {
return Optional.ofNullable(this.requireInfrastructureEncryption);
}
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 keySource;
private @Nullable List keyVaultProperties;
private @Nullable Boolean requireInfrastructureEncryption;
public Builder() {}
public Builder(EncryptionResponse defaults) {
Objects.requireNonNull(defaults);
this.keySource = defaults.keySource;
this.keyVaultProperties = defaults.keyVaultProperties;
this.requireInfrastructureEncryption = defaults.requireInfrastructureEncryption;
}
@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(KeyVaultPropertiesResponse... keyVaultProperties) {
return keyVaultProperties(List.of(keyVaultProperties));
}
@CustomType.Setter
public Builder requireInfrastructureEncryption(@Nullable Boolean requireInfrastructureEncryption) {
this.requireInfrastructureEncryption = requireInfrastructureEncryption;
return this;
}
public EncryptionResponse build() {
final var _resultValue = new EncryptionResponse();
_resultValue.keySource = keySource;
_resultValue.keyVaultProperties = keyVaultProperties;
_resultValue.requireInfrastructureEncryption = requireInfrastructureEncryption;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy