
com.pulumi.azurenative.iotoperationsmq.outputs.KeyVaultCertificatePropertiesResponse 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.iotoperationsmq.outputs;
import com.pulumi.azurenative.iotoperationsmq.outputs.KeyVaultConnectionPropertiesResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.KeyVaultSecretObjectResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class KeyVaultCertificatePropertiesResponse {
/**
* @return KeyVault properties.
*
*/
private KeyVaultConnectionPropertiesResponse vault;
/**
* @return KeyVault CA chain secret details.
*
*/
private @Nullable KeyVaultSecretObjectResponse vaultCaChainSecret;
/**
* @return KeyVault Cert secret details.
*
*/
private KeyVaultSecretObjectResponse vaultCert;
private KeyVaultCertificatePropertiesResponse() {}
/**
* @return KeyVault properties.
*
*/
public KeyVaultConnectionPropertiesResponse vault() {
return this.vault;
}
/**
* @return KeyVault CA chain secret details.
*
*/
public Optional vaultCaChainSecret() {
return Optional.ofNullable(this.vaultCaChainSecret);
}
/**
* @return KeyVault Cert secret details.
*
*/
public KeyVaultSecretObjectResponse vaultCert() {
return this.vaultCert;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KeyVaultCertificatePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private KeyVaultConnectionPropertiesResponse vault;
private @Nullable KeyVaultSecretObjectResponse vaultCaChainSecret;
private KeyVaultSecretObjectResponse vaultCert;
public Builder() {}
public Builder(KeyVaultCertificatePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.vault = defaults.vault;
this.vaultCaChainSecret = defaults.vaultCaChainSecret;
this.vaultCert = defaults.vaultCert;
}
@CustomType.Setter
public Builder vault(KeyVaultConnectionPropertiesResponse vault) {
if (vault == null) {
throw new MissingRequiredPropertyException("KeyVaultCertificatePropertiesResponse", "vault");
}
this.vault = vault;
return this;
}
@CustomType.Setter
public Builder vaultCaChainSecret(@Nullable KeyVaultSecretObjectResponse vaultCaChainSecret) {
this.vaultCaChainSecret = vaultCaChainSecret;
return this;
}
@CustomType.Setter
public Builder vaultCert(KeyVaultSecretObjectResponse vaultCert) {
if (vaultCert == null) {
throw new MissingRequiredPropertyException("KeyVaultCertificatePropertiesResponse", "vaultCert");
}
this.vaultCert = vaultCert;
return this;
}
public KeyVaultCertificatePropertiesResponse build() {
final var _resultValue = new KeyVaultCertificatePropertiesResponse();
_resultValue.vault = vault;
_resultValue.vaultCaChainSecret = vaultCaChainSecret;
_resultValue.vaultCert = vaultCert;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy