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

com.pulumi.azurenative.app.inputs.CertificatePropertiesArgs Maven / Gradle / Ivy

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

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


/**
 * Certificate resource specific properties
 * 
 */
public final class CertificatePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final CertificatePropertiesArgs Empty = new CertificatePropertiesArgs();

    /**
     * Certificate password.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Certificate password.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * PFX or PEM blob
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return PFX or PEM blob
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private CertificatePropertiesArgs() {}

    private CertificatePropertiesArgs(CertificatePropertiesArgs $) {
        this.password = $.password;
        this.value = $.value;
    }

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

    public static final class Builder {
        private CertificatePropertiesArgs $;

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

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

        /**
         * @param password Certificate password.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Certificate password.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param value PFX or PEM blob
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value PFX or PEM blob
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public CertificatePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy