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

com.pulumi.azurenative.iotoperations.inputs.X509ManualCertificateArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.iotoperations.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * X509 Certificate Authentication properties.
 * 
 */
public final class X509ManualCertificateArgs extends com.pulumi.resources.ResourceArgs {

    public static final X509ManualCertificateArgs Empty = new X509ManualCertificateArgs();

    /**
     * Kubernetes secret containing an X.509 client certificate. This is a reference to the secret through an identifying name, not the secret itself.
     * 
     */
    @Import(name="secretRef", required=true)
    private Output secretRef;

    /**
     * @return Kubernetes secret containing an X.509 client certificate. This is a reference to the secret through an identifying name, not the secret itself.
     * 
     */
    public Output secretRef() {
        return this.secretRef;
    }

    private X509ManualCertificateArgs() {}

    private X509ManualCertificateArgs(X509ManualCertificateArgs $) {
        this.secretRef = $.secretRef;
    }

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

    public static final class Builder {
        private X509ManualCertificateArgs $;

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

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

        /**
         * @param secretRef Kubernetes secret containing an X.509 client certificate. This is a reference to the secret through an identifying name, not the secret itself.
         * 
         * @return builder
         * 
         */
        public Builder secretRef(Output secretRef) {
            $.secretRef = secretRef;
            return this;
        }

        /**
         * @param secretRef Kubernetes secret containing an X.509 client certificate. This is a reference to the secret through an identifying name, not the secret itself.
         * 
         * @return builder
         * 
         */
        public Builder secretRef(String secretRef) {
            return secretRef(Output.of(secretRef));
        }

        public X509ManualCertificateArgs build() {
            if ($.secretRef == null) {
                throw new MissingRequiredPropertyException("X509ManualCertificateArgs", "secretRef");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy