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

com.pulumi.aws.cfg.inputs.ConformancePackInputParameterArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.cfg.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 ConformancePackInputParameterArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConformancePackInputParameterArgs Empty = new ConformancePackInputParameterArgs();

    /**
     * The input key.
     * 
     */
    @Import(name="parameterName", required=true)
    private Output parameterName;

    /**
     * @return The input key.
     * 
     */
    public Output parameterName() {
        return this.parameterName;
    }

    /**
     * The input value.
     * 
     */
    @Import(name="parameterValue", required=true)
    private Output parameterValue;

    /**
     * @return The input value.
     * 
     */
    public Output parameterValue() {
        return this.parameterValue;
    }

    private ConformancePackInputParameterArgs() {}

    private ConformancePackInputParameterArgs(ConformancePackInputParameterArgs $) {
        this.parameterName = $.parameterName;
        this.parameterValue = $.parameterValue;
    }

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

    public static final class Builder {
        private ConformancePackInputParameterArgs $;

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

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

        /**
         * @param parameterName The input key.
         * 
         * @return builder
         * 
         */
        public Builder parameterName(Output parameterName) {
            $.parameterName = parameterName;
            return this;
        }

        /**
         * @param parameterName The input key.
         * 
         * @return builder
         * 
         */
        public Builder parameterName(String parameterName) {
            return parameterName(Output.of(parameterName));
        }

        /**
         * @param parameterValue The input value.
         * 
         * @return builder
         * 
         */
        public Builder parameterValue(Output parameterValue) {
            $.parameterValue = parameterValue;
            return this;
        }

        /**
         * @param parameterValue The input value.
         * 
         * @return builder
         * 
         */
        public Builder parameterValue(String parameterValue) {
            return parameterValue(Output.of(parameterValue));
        }

        public ConformancePackInputParameterArgs build() {
            if ($.parameterName == null) {
                throw new MissingRequiredPropertyException("ConformancePackInputParameterArgs", "parameterName");
            }
            if ($.parameterValue == null) {
                throw new MissingRequiredPropertyException("ConformancePackInputParameterArgs", "parameterValue");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy