
com.pulumi.azurenative.workloads.outputs.SSLConfigurationResponse 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.workloads.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SSLConfigurationResponse {
/**
* @return Specify the crypto provider being used (commoncrypto/openssl). If this argument is not provided, it is automatically determined by searching in the configuration files.
*
*/
private @Nullable String sslCryptoProvider;
/**
* @return Specify the hostname as mentioned in the SSL certificate. If this argument is not provided, it is automatically determined by searching in the SSL certificate.
*
*/
private @Nullable String sslHostNameInCertificate;
/**
* @return Specify the name of the keystore file that contains the client's identity (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files.
*
*/
private @Nullable String sslKeyStore;
/**
* @return Specify the name of the trust store file that contains the server’s public certificates (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files.
*
*/
private @Nullable String sslTrustStore;
private SSLConfigurationResponse() {}
/**
* @return Specify the crypto provider being used (commoncrypto/openssl). If this argument is not provided, it is automatically determined by searching in the configuration files.
*
*/
public Optional sslCryptoProvider() {
return Optional.ofNullable(this.sslCryptoProvider);
}
/**
* @return Specify the hostname as mentioned in the SSL certificate. If this argument is not provided, it is automatically determined by searching in the SSL certificate.
*
*/
public Optional sslHostNameInCertificate() {
return Optional.ofNullable(this.sslHostNameInCertificate);
}
/**
* @return Specify the name of the keystore file that contains the client's identity (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files.
*
*/
public Optional sslKeyStore() {
return Optional.ofNullable(this.sslKeyStore);
}
/**
* @return Specify the name of the trust store file that contains the server’s public certificates (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files.
*
*/
public Optional sslTrustStore() {
return Optional.ofNullable(this.sslTrustStore);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SSLConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String sslCryptoProvider;
private @Nullable String sslHostNameInCertificate;
private @Nullable String sslKeyStore;
private @Nullable String sslTrustStore;
public Builder() {}
public Builder(SSLConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.sslCryptoProvider = defaults.sslCryptoProvider;
this.sslHostNameInCertificate = defaults.sslHostNameInCertificate;
this.sslKeyStore = defaults.sslKeyStore;
this.sslTrustStore = defaults.sslTrustStore;
}
@CustomType.Setter
public Builder sslCryptoProvider(@Nullable String sslCryptoProvider) {
this.sslCryptoProvider = sslCryptoProvider;
return this;
}
@CustomType.Setter
public Builder sslHostNameInCertificate(@Nullable String sslHostNameInCertificate) {
this.sslHostNameInCertificate = sslHostNameInCertificate;
return this;
}
@CustomType.Setter
public Builder sslKeyStore(@Nullable String sslKeyStore) {
this.sslKeyStore = sslKeyStore;
return this;
}
@CustomType.Setter
public Builder sslTrustStore(@Nullable String sslTrustStore) {
this.sslTrustStore = sslTrustStore;
return this;
}
public SSLConfigurationResponse build() {
final var _resultValue = new SSLConfigurationResponse();
_resultValue.sslCryptoProvider = sslCryptoProvider;
_resultValue.sslHostNameInCertificate = sslHostNameInCertificate;
_resultValue.sslKeyStore = sslKeyStore;
_resultValue.sslTrustStore = sslTrustStore;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy