com.pulumi.azurenative.cdn.outputs.UserManagedHttpsParametersResponse 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.
The newest version!
// *** 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.cdn.outputs;
import com.pulumi.azurenative.cdn.outputs.KeyVaultCertificateSourceParametersResponse;
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 UserManagedHttpsParametersResponse {
/**
* @return Defines the source of the SSL certificate.
* Expected value is 'AzureKeyVault'.
*
*/
private String certificateSource;
/**
* @return Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
*
*/
private KeyVaultCertificateSourceParametersResponse certificateSourceParameters;
/**
* @return TLS protocol version that will be used for Https
*
*/
private @Nullable String minimumTlsVersion;
/**
* @return Defines the TLS extension protocol that is used for secure delivery.
*
*/
private String protocolType;
private UserManagedHttpsParametersResponse() {}
/**
* @return Defines the source of the SSL certificate.
* Expected value is 'AzureKeyVault'.
*
*/
public String certificateSource() {
return this.certificateSource;
}
/**
* @return Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
*
*/
public KeyVaultCertificateSourceParametersResponse certificateSourceParameters() {
return this.certificateSourceParameters;
}
/**
* @return TLS protocol version that will be used for Https
*
*/
public Optional minimumTlsVersion() {
return Optional.ofNullable(this.minimumTlsVersion);
}
/**
* @return Defines the TLS extension protocol that is used for secure delivery.
*
*/
public String protocolType() {
return this.protocolType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserManagedHttpsParametersResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String certificateSource;
private KeyVaultCertificateSourceParametersResponse certificateSourceParameters;
private @Nullable String minimumTlsVersion;
private String protocolType;
public Builder() {}
public Builder(UserManagedHttpsParametersResponse defaults) {
Objects.requireNonNull(defaults);
this.certificateSource = defaults.certificateSource;
this.certificateSourceParameters = defaults.certificateSourceParameters;
this.minimumTlsVersion = defaults.minimumTlsVersion;
this.protocolType = defaults.protocolType;
}
@CustomType.Setter
public Builder certificateSource(String certificateSource) {
if (certificateSource == null) {
throw new MissingRequiredPropertyException("UserManagedHttpsParametersResponse", "certificateSource");
}
this.certificateSource = certificateSource;
return this;
}
@CustomType.Setter
public Builder certificateSourceParameters(KeyVaultCertificateSourceParametersResponse certificateSourceParameters) {
if (certificateSourceParameters == null) {
throw new MissingRequiredPropertyException("UserManagedHttpsParametersResponse", "certificateSourceParameters");
}
this.certificateSourceParameters = certificateSourceParameters;
return this;
}
@CustomType.Setter
public Builder minimumTlsVersion(@Nullable String minimumTlsVersion) {
this.minimumTlsVersion = minimumTlsVersion;
return this;
}
@CustomType.Setter
public Builder protocolType(String protocolType) {
if (protocolType == null) {
throw new MissingRequiredPropertyException("UserManagedHttpsParametersResponse", "protocolType");
}
this.protocolType = protocolType;
return this;
}
public UserManagedHttpsParametersResponse build() {
final var _resultValue = new UserManagedHttpsParametersResponse();
_resultValue.certificateSource = certificateSource;
_resultValue.certificateSourceParameters = certificateSourceParameters;
_resultValue.minimumTlsVersion = minimumTlsVersion;
_resultValue.protocolType = protocolType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy