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

com.pulumi.azurenative.videoanalyzer.outputs.TlsValidationOptionsResponse Maven / Gradle / Ivy

// *** 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.videoanalyzer.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 TlsValidationOptionsResponse {
    /**
     * @return When set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'.
     * 
     */
    private @Nullable String ignoreHostname;
    /**
     * @return When set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'.
     * 
     */
    private @Nullable String ignoreSignature;

    private TlsValidationOptionsResponse() {}
    /**
     * @return When set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'.
     * 
     */
    public Optional ignoreHostname() {
        return Optional.ofNullable(this.ignoreHostname);
    }
    /**
     * @return When set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'.
     * 
     */
    public Optional ignoreSignature() {
        return Optional.ofNullable(this.ignoreSignature);
    }

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

    public static Builder builder(TlsValidationOptionsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String ignoreHostname;
        private @Nullable String ignoreSignature;
        public Builder() {}
        public Builder(TlsValidationOptionsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ignoreHostname = defaults.ignoreHostname;
    	      this.ignoreSignature = defaults.ignoreSignature;
        }

        @CustomType.Setter
        public Builder ignoreHostname(@Nullable String ignoreHostname) {

            this.ignoreHostname = ignoreHostname;
            return this;
        }
        @CustomType.Setter
        public Builder ignoreSignature(@Nullable String ignoreSignature) {

            this.ignoreSignature = ignoreSignature;
            return this;
        }
        public TlsValidationOptionsResponse build() {
            final var _resultValue = new TlsValidationOptionsResponse();
            _resultValue.ignoreHostname = ignoreHostname;
            _resultValue.ignoreSignature = ignoreSignature;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy