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

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


/**
 * Trusted Root certificates of an application gateway.
 * 
 */
public final class ApplicationGatewayTrustedRootCertificateArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationGatewayTrustedRootCertificateArgs Empty = new ApplicationGatewayTrustedRootCertificateArgs();

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

    /**
     * @return Certificate public data.
     * 
     */
    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 trusted root certificate that is unique within an Application Gateway.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

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

    private ApplicationGatewayTrustedRootCertificateArgs() {}

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

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

    public static final class Builder {
        private ApplicationGatewayTrustedRootCertificateArgs $;

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

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

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

        /**
         * @param data Certificate public data.
         * 
         * @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 trusted root 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 trusted root certificate that is unique within an Application Gateway.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ApplicationGatewayTrustedRootCertificateArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy