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

com.pulumi.azure.paloalto.LocalRulestackCertificateArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.paloalto;

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


public final class LocalRulestackCertificateArgs extends com.pulumi.resources.ResourceArgs {

    public static final LocalRulestackCertificateArgs Empty = new LocalRulestackCertificateArgs();

    /**
     * The comment for Audit purposes.
     * 
     */
    @Import(name="auditComment")
    private @Nullable Output auditComment;

    /**
     * @return The comment for Audit purposes.
     * 
     */
    public Optional> auditComment() {
        return Optional.ofNullable(this.auditComment);
    }

    /**
     * The description for the Certificate.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description for the Certificate.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The `versionles_id` of the Key Vault Certificate to use. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
     * 
     */
    @Import(name="keyVaultCertificateId")
    private @Nullable Output keyVaultCertificateId;

    /**
     * @return The `versionles_id` of the Key Vault Certificate to use. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
     * 
     */
    public Optional> keyVaultCertificateId() {
        return Optional.ofNullable(this.keyVaultCertificateId);
    }

    /**
     * The name which should be used for this Palo Alto Networks Rulestack Certificate.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Palo Alto Networks Rulestack Certificate.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The ID of the TODO. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
     * 
     */
    @Import(name="rulestackId", required=true)
    private Output rulestackId;

    /**
     * @return The ID of the TODO. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
     * 
     */
    public Output rulestackId() {
        return this.rulestackId;
    }

    /**
     * Should a Self Signed Certificate be used. Defaults to `false`. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
     * 
     * > **Note:** One and only one of `self_signed` or `key_vault_certificate_id` must be specified.
     * 
     */
    @Import(name="selfSigned")
    private @Nullable Output selfSigned;

    /**
     * @return Should a Self Signed Certificate be used. Defaults to `false`. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
     * 
     * > **Note:** One and only one of `self_signed` or `key_vault_certificate_id` must be specified.
     * 
     */
    public Optional> selfSigned() {
        return Optional.ofNullable(this.selfSigned);
    }

    private LocalRulestackCertificateArgs() {}

    private LocalRulestackCertificateArgs(LocalRulestackCertificateArgs $) {
        this.auditComment = $.auditComment;
        this.description = $.description;
        this.keyVaultCertificateId = $.keyVaultCertificateId;
        this.name = $.name;
        this.rulestackId = $.rulestackId;
        this.selfSigned = $.selfSigned;
    }

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

    public static final class Builder {
        private LocalRulestackCertificateArgs $;

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

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

        /**
         * @param auditComment The comment for Audit purposes.
         * 
         * @return builder
         * 
         */
        public Builder auditComment(@Nullable Output auditComment) {
            $.auditComment = auditComment;
            return this;
        }

        /**
         * @param auditComment The comment for Audit purposes.
         * 
         * @return builder
         * 
         */
        public Builder auditComment(String auditComment) {
            return auditComment(Output.of(auditComment));
        }

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

        /**
         * @param description The description for the Certificate.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param keyVaultCertificateId The `versionles_id` of the Key Vault Certificate to use. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultCertificateId(@Nullable Output keyVaultCertificateId) {
            $.keyVaultCertificateId = keyVaultCertificateId;
            return this;
        }

        /**
         * @param keyVaultCertificateId The `versionles_id` of the Key Vault Certificate to use. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultCertificateId(String keyVaultCertificateId) {
            return keyVaultCertificateId(Output.of(keyVaultCertificateId));
        }

        /**
         * @param name The name which should be used for this Palo Alto Networks Rulestack Certificate.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Palo Alto Networks Rulestack Certificate.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param rulestackId The ID of the TODO. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
         * 
         * @return builder
         * 
         */
        public Builder rulestackId(Output rulestackId) {
            $.rulestackId = rulestackId;
            return this;
        }

        /**
         * @param rulestackId The ID of the TODO. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
         * 
         * @return builder
         * 
         */
        public Builder rulestackId(String rulestackId) {
            return rulestackId(Output.of(rulestackId));
        }

        /**
         * @param selfSigned Should a Self Signed Certificate be used. Defaults to `false`. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
         * 
         * > **Note:** One and only one of `self_signed` or `key_vault_certificate_id` must be specified.
         * 
         * @return builder
         * 
         */
        public Builder selfSigned(@Nullable Output selfSigned) {
            $.selfSigned = selfSigned;
            return this;
        }

        /**
         * @param selfSigned Should a Self Signed Certificate be used. Defaults to `false`. Changing this forces a new Palo Alto Networks Rulestack Certificate to be created.
         * 
         * > **Note:** One and only one of `self_signed` or `key_vault_certificate_id` must be specified.
         * 
         * @return builder
         * 
         */
        public Builder selfSigned(Boolean selfSigned) {
            return selfSigned(Output.of(selfSigned));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy