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

com.pulumi.aws.neptune.inputs.ClusterParameterGroupParameterArgs 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.neptune.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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClusterParameterGroupParameterArgs Empty = new ClusterParameterGroupParameterArgs();

    /**
     * Valid values are `immediate` and `pending-reboot`. Defaults to `pending-reboot`.
     * 
     */
    @Import(name="applyMethod")
    private @Nullable Output applyMethod;

    /**
     * @return Valid values are `immediate` and `pending-reboot`. Defaults to `pending-reboot`.
     * 
     */
    public Optional> applyMethod() {
        return Optional.ofNullable(this.applyMethod);
    }

    /**
     * The name of the neptune parameter.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the neptune parameter.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The value of the neptune parameter.
     * 
     */
    @Import(name="value", required=true)
    private Output value;

    /**
     * @return The value of the neptune parameter.
     * 
     */
    public Output value() {
        return this.value;
    }

    private ClusterParameterGroupParameterArgs() {}

    private ClusterParameterGroupParameterArgs(ClusterParameterGroupParameterArgs $) {
        this.applyMethod = $.applyMethod;
        this.name = $.name;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ClusterParameterGroupParameterArgs $;

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

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

        /**
         * @param applyMethod Valid values are `immediate` and `pending-reboot`. Defaults to `pending-reboot`.
         * 
         * @return builder
         * 
         */
        public Builder applyMethod(@Nullable Output applyMethod) {
            $.applyMethod = applyMethod;
            return this;
        }

        /**
         * @param applyMethod Valid values are `immediate` and `pending-reboot`. Defaults to `pending-reboot`.
         * 
         * @return builder
         * 
         */
        public Builder applyMethod(String applyMethod) {
            return applyMethod(Output.of(applyMethod));
        }

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

        /**
         * @param name The name of the neptune parameter.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param value The value of the neptune parameter.
         * 
         * @return builder
         * 
         */
        public Builder value(Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The value of the neptune parameter.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy