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

com.pulumi.azurenative.scheduler.outputs.ClientCertAuthenticationResponse 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.scheduler.outputs;

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 ClientCertAuthenticationResponse {
    /**
     * @return Gets or sets the certificate expiration date.
     * 
     */
    private @Nullable String certificateExpirationDate;
    /**
     * @return Gets or sets the certificate subject name.
     * 
     */
    private @Nullable String certificateSubjectName;
    /**
     * @return Gets or sets the certificate thumbprint.
     * 
     */
    private @Nullable String certificateThumbprint;
    /**
     * @return Gets or sets the certificate password, return value will always be empty.
     * 
     */
    private @Nullable String password;
    /**
     * @return Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
     * 
     */
    private @Nullable String pfx;
    /**
     * @return Gets or sets the HTTP authentication type.
     * Expected value is 'ClientCertificate'.
     * 
     */
    private String type;

    private ClientCertAuthenticationResponse() {}
    /**
     * @return Gets or sets the certificate expiration date.
     * 
     */
    public Optional certificateExpirationDate() {
        return Optional.ofNullable(this.certificateExpirationDate);
    }
    /**
     * @return Gets or sets the certificate subject name.
     * 
     */
    public Optional certificateSubjectName() {
        return Optional.ofNullable(this.certificateSubjectName);
    }
    /**
     * @return Gets or sets the certificate thumbprint.
     * 
     */
    public Optional certificateThumbprint() {
        return Optional.ofNullable(this.certificateThumbprint);
    }
    /**
     * @return Gets or sets the certificate password, return value will always be empty.
     * 
     */
    public Optional password() {
        return Optional.ofNullable(this.password);
    }
    /**
     * @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);
    }
    /**
     * @return Gets or sets the HTTP authentication type.
     * Expected value is 'ClientCertificate'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(ClientCertAuthenticationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String certificateExpirationDate;
        private @Nullable String certificateSubjectName;
        private @Nullable String certificateThumbprint;
        private @Nullable String password;
        private @Nullable String pfx;
        private String type;
        public Builder() {}
        public Builder(ClientCertAuthenticationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.certificateExpirationDate = defaults.certificateExpirationDate;
    	      this.certificateSubjectName = defaults.certificateSubjectName;
    	      this.certificateThumbprint = defaults.certificateThumbprint;
    	      this.password = defaults.password;
    	      this.pfx = defaults.pfx;
    	      this.type = defaults.type;
        }

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

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

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

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

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

            this.pfx = pfx;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("ClientCertAuthenticationResponse", "type");
            }
            this.type = type;
            return this;
        }
        public ClientCertAuthenticationResponse build() {
            final var _resultValue = new ClientCertAuthenticationResponse();
            _resultValue.certificateExpirationDate = certificateExpirationDate;
            _resultValue.certificateSubjectName = certificateSubjectName;
            _resultValue.certificateThumbprint = certificateThumbprint;
            _resultValue.password = password;
            _resultValue.pfx = pfx;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy