com.pulumi.azurenative.network.outputs.CustomHttpsConfigurationResponse 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.network.outputs;
import com.pulumi.azurenative.network.outputs.KeyVaultCertificateSourceParametersResponseVault;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CustomHttpsConfigurationResponse {
/**
* @return Defines the source of the SSL certificate
*
*/
private String certificateSource;
/**
* @return Defines the type of the certificate used for secure connections to a frontendEndpoint
*
*/
private @Nullable String certificateType;
/**
* @return The minimum TLS version required from the clients to establish an SSL handshake with Front Door.
*
*/
private String minimumTlsVersion;
/**
* @return Defines the TLS extension protocol that is used for secure delivery
*
*/
private String protocolType;
/**
* @return The name of the Key Vault secret representing the full certificate PFX
*
*/
private @Nullable String secretName;
/**
* @return The version of the Key Vault secret representing the full certificate PFX
*
*/
private @Nullable String secretVersion;
/**
* @return The Key Vault containing the SSL certificate
*
*/
private @Nullable KeyVaultCertificateSourceParametersResponseVault vault;
private CustomHttpsConfigurationResponse() {}
/**
* @return Defines the source of the SSL certificate
*
*/
public String certificateSource() {
return this.certificateSource;
}
/**
* @return Defines the type of the certificate used for secure connections to a frontendEndpoint
*
*/
public Optional certificateType() {
return Optional.ofNullable(this.certificateType);
}
/**
* @return The minimum TLS version required from the clients to establish an SSL handshake with Front Door.
*
*/
public String minimumTlsVersion() {
return this.minimumTlsVersion;
}
/**
* @return Defines the TLS extension protocol that is used for secure delivery
*
*/
public String protocolType() {
return this.protocolType;
}
/**
* @return The name of the Key Vault secret representing the full certificate PFX
*
*/
public Optional secretName() {
return Optional.ofNullable(this.secretName);
}
/**
* @return The version of the Key Vault secret representing the full certificate PFX
*
*/
public Optional secretVersion() {
return Optional.ofNullable(this.secretVersion);
}
/**
* @return The Key Vault containing the SSL certificate
*
*/
public Optional vault() {
return Optional.ofNullable(this.vault);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomHttpsConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String certificateSource;
private @Nullable String certificateType;
private String minimumTlsVersion;
private String protocolType;
private @Nullable String secretName;
private @Nullable String secretVersion;
private @Nullable KeyVaultCertificateSourceParametersResponseVault vault;
public Builder() {}
public Builder(CustomHttpsConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.certificateSource = defaults.certificateSource;
this.certificateType = defaults.certificateType;
this.minimumTlsVersion = defaults.minimumTlsVersion;
this.protocolType = defaults.protocolType;
this.secretName = defaults.secretName;
this.secretVersion = defaults.secretVersion;
this.vault = defaults.vault;
}
@CustomType.Setter
public Builder certificateSource(String certificateSource) {
if (certificateSource == null) {
throw new MissingRequiredPropertyException("CustomHttpsConfigurationResponse", "certificateSource");
}
this.certificateSource = certificateSource;
return this;
}
@CustomType.Setter
public Builder certificateType(@Nullable String certificateType) {
this.certificateType = certificateType;
return this;
}
@CustomType.Setter
public Builder minimumTlsVersion(String minimumTlsVersion) {
if (minimumTlsVersion == null) {
throw new MissingRequiredPropertyException("CustomHttpsConfigurationResponse", "minimumTlsVersion");
}
this.minimumTlsVersion = minimumTlsVersion;
return this;
}
@CustomType.Setter
public Builder protocolType(String protocolType) {
if (protocolType == null) {
throw new MissingRequiredPropertyException("CustomHttpsConfigurationResponse", "protocolType");
}
this.protocolType = protocolType;
return this;
}
@CustomType.Setter
public Builder secretName(@Nullable String secretName) {
this.secretName = secretName;
return this;
}
@CustomType.Setter
public Builder secretVersion(@Nullable String secretVersion) {
this.secretVersion = secretVersion;
return this;
}
@CustomType.Setter
public Builder vault(@Nullable KeyVaultCertificateSourceParametersResponseVault vault) {
this.vault = vault;
return this;
}
public CustomHttpsConfigurationResponse build() {
final var _resultValue = new CustomHttpsConfigurationResponse();
_resultValue.certificateSource = certificateSource;
_resultValue.certificateType = certificateType;
_resultValue.minimumTlsVersion = minimumTlsVersion;
_resultValue.protocolType = protocolType;
_resultValue.secretName = secretName;
_resultValue.secretVersion = secretVersion;
_resultValue.vault = vault;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy