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

com.pulumi.azurenative.network.inputs.ApplicationGatewaySslCertificateArgs 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.network.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;


/**
 * SSL certificates of an application gateway.
 * 
 */
public final class ApplicationGatewaySslCertificateArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationGatewaySslCertificateArgs Empty = new ApplicationGatewaySslCertificateArgs();

    /**
     * Base-64 encoded pfx certificate. Only applicable in PUT Request.
     * 
     */
    @Import(name="data")
    private @Nullable Output data;

    /**
     * @return Base-64 encoded pfx certificate. Only applicable in PUT Request.
     * 
     */
    public Optional> data() {
        return Optional.ofNullable(this.data);
    }

    /**
     * Resource ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Resource ID.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
     * 
     */
    @Import(name="keyVaultSecretId")
    private @Nullable Output keyVaultSecretId;

    /**
     * @return Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
     * 
     */
    public Optional> keyVaultSecretId() {
        return Optional.ofNullable(this.keyVaultSecretId);
    }

    /**
     * Name of the SSL certificate that is unique within an Application Gateway.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the SSL certificate that is unique within an Application Gateway.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Password for the pfx file specified in data. Only applicable in PUT request.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Password for the pfx file specified in data. Only applicable in PUT request.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    private ApplicationGatewaySslCertificateArgs() {}

    private ApplicationGatewaySslCertificateArgs(ApplicationGatewaySslCertificateArgs $) {
        this.data = $.data;
        this.id = $.id;
        this.keyVaultSecretId = $.keyVaultSecretId;
        this.name = $.name;
        this.password = $.password;
    }

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

    public static final class Builder {
        private ApplicationGatewaySslCertificateArgs $;

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

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

        /**
         * @param data Base-64 encoded pfx certificate. Only applicable in PUT Request.
         * 
         * @return builder
         * 
         */
        public Builder data(@Nullable Output data) {
            $.data = data;
            return this;
        }

        /**
         * @param data Base-64 encoded pfx certificate. Only applicable in PUT Request.
         * 
         * @return builder
         * 
         */
        public Builder data(String data) {
            return data(Output.of(data));
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param keyVaultSecretId Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultSecretId(@Nullable Output keyVaultSecretId) {
            $.keyVaultSecretId = keyVaultSecretId;
            return this;
        }

        /**
         * @param keyVaultSecretId Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultSecretId(String keyVaultSecretId) {
            return keyVaultSecretId(Output.of(keyVaultSecretId));
        }

        /**
         * @param name Name of the SSL certificate that is unique within an Application Gateway.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the SSL certificate that is unique within an Application Gateway.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param password Password for the pfx file specified in data. Only applicable in PUT request.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Password for the pfx file specified in data. Only applicable in PUT request.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        public ApplicationGatewaySslCertificateArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy