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

com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigScaleRuleAuthenticationArgs 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.containerapp.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;


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

    public static final JobEventTriggerConfigScaleRuleAuthenticationArgs Empty = new JobEventTriggerConfigScaleRuleAuthenticationArgs();

    /**
     * Name of the secret from which to pull the auth params.
     * 
     */
    @Import(name="secretName", required=true)
    private Output secretName;

    /**
     * @return Name of the secret from which to pull the auth params.
     * 
     */
    public Output secretName() {
        return this.secretName;
    }

    /**
     * Trigger Parameter that uses the secret.
     * 
     */
    @Import(name="triggerParameter", required=true)
    private Output triggerParameter;

    /**
     * @return Trigger Parameter that uses the secret.
     * 
     */
    public Output triggerParameter() {
        return this.triggerParameter;
    }

    private JobEventTriggerConfigScaleRuleAuthenticationArgs() {}

    private JobEventTriggerConfigScaleRuleAuthenticationArgs(JobEventTriggerConfigScaleRuleAuthenticationArgs $) {
        this.secretName = $.secretName;
        this.triggerParameter = $.triggerParameter;
    }

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

    public static final class Builder {
        private JobEventTriggerConfigScaleRuleAuthenticationArgs $;

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

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

        /**
         * @param secretName Name of the secret from which to pull the auth params.
         * 
         * @return builder
         * 
         */
        public Builder secretName(Output secretName) {
            $.secretName = secretName;
            return this;
        }

        /**
         * @param secretName Name of the secret from which to pull the auth params.
         * 
         * @return builder
         * 
         */
        public Builder secretName(String secretName) {
            return secretName(Output.of(secretName));
        }

        /**
         * @param triggerParameter Trigger Parameter that uses the secret.
         * 
         * @return builder
         * 
         */
        public Builder triggerParameter(Output triggerParameter) {
            $.triggerParameter = triggerParameter;
            return this;
        }

        /**
         * @param triggerParameter Trigger Parameter that uses the secret.
         * 
         * @return builder
         * 
         */
        public Builder triggerParameter(String triggerParameter) {
            return triggerParameter(Output.of(triggerParameter));
        }

        public JobEventTriggerConfigScaleRuleAuthenticationArgs build() {
            if ($.secretName == null) {
                throw new MissingRequiredPropertyException("JobEventTriggerConfigScaleRuleAuthenticationArgs", "secretName");
            }
            if ($.triggerParameter == null) {
                throw new MissingRequiredPropertyException("JobEventTriggerConfigScaleRuleAuthenticationArgs", "triggerParameter");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy