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

com.pulumi.azurenative.scheduler.inputs.ClientCertAuthenticationArgs 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.scheduler.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ClientCertAuthenticationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClientCertAuthenticationArgs Empty = new ClientCertAuthenticationArgs();

    /**
     * Gets or sets the certificate expiration date.
     * 
     */
    @Import(name="certificateExpirationDate")
    private @Nullable Output certificateExpirationDate;

    /**
     * @return Gets or sets the certificate expiration date.
     * 
     */
    public Optional> certificateExpirationDate() {
        return Optional.ofNullable(this.certificateExpirationDate);
    }

    /**
     * Gets or sets the certificate subject name.
     * 
     */
    @Import(name="certificateSubjectName")
    private @Nullable Output certificateSubjectName;

    /**
     * @return Gets or sets the certificate subject name.
     * 
     */
    public Optional> certificateSubjectName() {
        return Optional.ofNullable(this.certificateSubjectName);
    }

    /**
     * Gets or sets the certificate thumbprint.
     * 
     */
    @Import(name="certificateThumbprint")
    private @Nullable Output certificateThumbprint;

    /**
     * @return Gets or sets the certificate thumbprint.
     * 
     */
    public Optional> certificateThumbprint() {
        return Optional.ofNullable(this.certificateThumbprint);
    }

    /**
     * Gets or sets the certificate password, return value will always be empty.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Gets or sets the certificate password, return value will always be empty.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
     * 
     */
    @Import(name="pfx")
    private @Nullable Output pfx;

    /**
     * @return Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
     * 
     */
    public Optional> pfx() {
        return Optional.ofNullable(this.pfx);
    }

    /**
     * Gets or sets the HTTP authentication type.
     * Expected value is 'ClientCertificate'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Gets or sets the HTTP authentication type.
     * Expected value is 'ClientCertificate'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private ClientCertAuthenticationArgs() {}

    private ClientCertAuthenticationArgs(ClientCertAuthenticationArgs $) {
        this.certificateExpirationDate = $.certificateExpirationDate;
        this.certificateSubjectName = $.certificateSubjectName;
        this.certificateThumbprint = $.certificateThumbprint;
        this.password = $.password;
        this.pfx = $.pfx;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ClientCertAuthenticationArgs $;

        public Builder() {
            $ = new ClientCertAuthenticationArgs();
        }

        public Builder(ClientCertAuthenticationArgs defaults) {
            $ = new ClientCertAuthenticationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param certificateExpirationDate Gets or sets the certificate expiration date.
         * 
         * @return builder
         * 
         */
        public Builder certificateExpirationDate(@Nullable Output certificateExpirationDate) {
            $.certificateExpirationDate = certificateExpirationDate;
            return this;
        }

        /**
         * @param certificateExpirationDate Gets or sets the certificate expiration date.
         * 
         * @return builder
         * 
         */
        public Builder certificateExpirationDate(String certificateExpirationDate) {
            return certificateExpirationDate(Output.of(certificateExpirationDate));
        }

        /**
         * @param certificateSubjectName Gets or sets the certificate subject name.
         * 
         * @return builder
         * 
         */
        public Builder certificateSubjectName(@Nullable Output certificateSubjectName) {
            $.certificateSubjectName = certificateSubjectName;
            return this;
        }

        /**
         * @param certificateSubjectName Gets or sets the certificate subject name.
         * 
         * @return builder
         * 
         */
        public Builder certificateSubjectName(String certificateSubjectName) {
            return certificateSubjectName(Output.of(certificateSubjectName));
        }

        /**
         * @param certificateThumbprint Gets or sets the certificate thumbprint.
         * 
         * @return builder
         * 
         */
        public Builder certificateThumbprint(@Nullable Output certificateThumbprint) {
            $.certificateThumbprint = certificateThumbprint;
            return this;
        }

        /**
         * @param certificateThumbprint Gets or sets the certificate thumbprint.
         * 
         * @return builder
         * 
         */
        public Builder certificateThumbprint(String certificateThumbprint) {
            return certificateThumbprint(Output.of(certificateThumbprint));
        }

        /**
         * @param password Gets or sets the certificate password, return value will always be empty.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Gets or sets the certificate password, return value will always be empty.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param pfx Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
         * 
         * @return builder
         * 
         */
        public Builder pfx(@Nullable Output pfx) {
            $.pfx = pfx;
            return this;
        }

        /**
         * @param pfx Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
         * 
         * @return builder
         * 
         */
        public Builder pfx(String pfx) {
            return pfx(Output.of(pfx));
        }

        /**
         * @param type Gets or sets the HTTP authentication type.
         * Expected value is 'ClientCertificate'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Gets or sets the HTTP authentication type.
         * Expected value is 'ClientCertificate'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ClientCertAuthenticationArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy