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

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

// *** 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.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RemediationConfigurationParameterArgs Empty = new RemediationConfigurationParameterArgs();

    /**
     * Name of the attribute.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Name of the attribute.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Value is dynamic and changes at run-time.
     * 
     */
    @Import(name="resourceValue")
    private @Nullable Output resourceValue;

    /**
     * @return Value is dynamic and changes at run-time.
     * 
     */
    public Optional> resourceValue() {
        return Optional.ofNullable(this.resourceValue);
    }

    /**
     * Value is static and does not change at run-time.
     * 
     */
    @Import(name="staticValue")
    private @Nullable Output staticValue;

    /**
     * @return Value is static and does not change at run-time.
     * 
     */
    public Optional> staticValue() {
        return Optional.ofNullable(this.staticValue);
    }

    /**
     * List of static values.
     * 
     */
    @Import(name="staticValues")
    private @Nullable Output> staticValues;

    /**
     * @return List of static values.
     * 
     */
    public Optional>> staticValues() {
        return Optional.ofNullable(this.staticValues);
    }

    private RemediationConfigurationParameterArgs() {}

    private RemediationConfigurationParameterArgs(RemediationConfigurationParameterArgs $) {
        this.name = $.name;
        this.resourceValue = $.resourceValue;
        this.staticValue = $.staticValue;
        this.staticValues = $.staticValues;
    }

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

    public static final class Builder {
        private RemediationConfigurationParameterArgs $;

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

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

        /**
         * @param name Name of the attribute.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the attribute.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceValue Value is dynamic and changes at run-time.
         * 
         * @return builder
         * 
         */
        public Builder resourceValue(@Nullable Output resourceValue) {
            $.resourceValue = resourceValue;
            return this;
        }

        /**
         * @param resourceValue Value is dynamic and changes at run-time.
         * 
         * @return builder
         * 
         */
        public Builder resourceValue(String resourceValue) {
            return resourceValue(Output.of(resourceValue));
        }

        /**
         * @param staticValue Value is static and does not change at run-time.
         * 
         * @return builder
         * 
         */
        public Builder staticValue(@Nullable Output staticValue) {
            $.staticValue = staticValue;
            return this;
        }

        /**
         * @param staticValue Value is static and does not change at run-time.
         * 
         * @return builder
         * 
         */
        public Builder staticValue(String staticValue) {
            return staticValue(Output.of(staticValue));
        }

        /**
         * @param staticValues List of static values.
         * 
         * @return builder
         * 
         */
        public Builder staticValues(@Nullable Output> staticValues) {
            $.staticValues = staticValues;
            return this;
        }

        /**
         * @param staticValues List of static values.
         * 
         * @return builder
         * 
         */
        public Builder staticValues(List staticValues) {
            return staticValues(Output.of(staticValues));
        }

        /**
         * @param staticValues List of static values.
         * 
         * @return builder
         * 
         */
        public Builder staticValues(String... staticValues) {
            return staticValues(List.of(staticValues));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy