
com.pulumi.azurenative.iotoperationsmq.outputs.TlsCertMethodResponse 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.iotoperationsmq.outputs;
import com.pulumi.azurenative.iotoperationsmq.outputs.AutomaticCertMethodResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.KeyVaultCertificatePropertiesResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.ManualCertMethodResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TlsCertMethodResponse {
/**
* @return Option 1 - Automatic TLS server certificate management with cert-manager.
*
*/
private @Nullable AutomaticCertMethodResponse automatic;
/**
* @return Option 3 - TLS server certificate retrieved from Key Vault..
*
*/
private @Nullable KeyVaultCertificatePropertiesResponse keyVault;
/**
* @return Option 2 - Manual TLS server certificate management through a defined secret.
*
*/
private @Nullable ManualCertMethodResponse manual;
private TlsCertMethodResponse() {}
/**
* @return Option 1 - Automatic TLS server certificate management with cert-manager.
*
*/
public Optional automatic() {
return Optional.ofNullable(this.automatic);
}
/**
* @return Option 3 - TLS server certificate retrieved from Key Vault..
*
*/
public Optional keyVault() {
return Optional.ofNullable(this.keyVault);
}
/**
* @return Option 2 - Manual TLS server certificate management through a defined secret.
*
*/
public Optional manual() {
return Optional.ofNullable(this.manual);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TlsCertMethodResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable AutomaticCertMethodResponse automatic;
private @Nullable KeyVaultCertificatePropertiesResponse keyVault;
private @Nullable ManualCertMethodResponse manual;
public Builder() {}
public Builder(TlsCertMethodResponse defaults) {
Objects.requireNonNull(defaults);
this.automatic = defaults.automatic;
this.keyVault = defaults.keyVault;
this.manual = defaults.manual;
}
@CustomType.Setter
public Builder automatic(@Nullable AutomaticCertMethodResponse automatic) {
this.automatic = automatic;
return this;
}
@CustomType.Setter
public Builder keyVault(@Nullable KeyVaultCertificatePropertiesResponse keyVault) {
this.keyVault = keyVault;
return this;
}
@CustomType.Setter
public Builder manual(@Nullable ManualCertMethodResponse manual) {
this.manual = manual;
return this;
}
public TlsCertMethodResponse build() {
final var _resultValue = new TlsCertMethodResponse();
_resultValue.automatic = automatic;
_resultValue.keyVault = keyVault;
_resultValue.manual = manual;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy