All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.apimanagement.outputs.BackendTlsPropertiesResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show 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.apimanagement.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class BackendTlsPropertiesResponse {
    /**
     * @return Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.
     * 
     */
    private @Nullable Boolean validateCertificateChain;
    /**
     * @return Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.
     * 
     */
    private @Nullable Boolean validateCertificateName;

    private BackendTlsPropertiesResponse() {}
    /**
     * @return Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.
     * 
     */
    public Optional validateCertificateChain() {
        return Optional.ofNullable(this.validateCertificateChain);
    }
    /**
     * @return Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.
     * 
     */
    public Optional validateCertificateName() {
        return Optional.ofNullable(this.validateCertificateName);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(BackendTlsPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean validateCertificateChain;
        private @Nullable Boolean validateCertificateName;
        public Builder() {}
        public Builder(BackendTlsPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.validateCertificateChain = defaults.validateCertificateChain;
    	      this.validateCertificateName = defaults.validateCertificateName;
        }

        @CustomType.Setter
        public Builder validateCertificateChain(@Nullable Boolean validateCertificateChain) {

            this.validateCertificateChain = validateCertificateChain;
            return this;
        }
        @CustomType.Setter
        public Builder validateCertificateName(@Nullable Boolean validateCertificateName) {

            this.validateCertificateName = validateCertificateName;
            return this;
        }
        public BackendTlsPropertiesResponse build() {
            final var _resultValue = new BackendTlsPropertiesResponse();
            _resultValue.validateCertificateChain = validateCertificateChain;
            _resultValue.validateCertificateName = validateCertificateName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy