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

com.pulumi.aws.docdb.ClusterParameterGroupArgs 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.docdb;

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


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

    public static final ClusterParameterGroupArgs Empty = new ClusterParameterGroupArgs();

    /**
     * The description of the DocumentDB cluster parameter group. Defaults to "Managed by Pulumi".
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the DocumentDB cluster parameter group. Defaults to "Managed by Pulumi".
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

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

    /**
     * @return The family of the DocumentDB cluster parameter group.
     * 
     */
    public Output family() {
        return this.family;
    }

    /**
     * The name of the DocumentDB parameter.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the DocumentDB parameter.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Creates a unique name beginning with the specified prefix. Conflicts with `name`.
     * 
     */
    @Import(name="namePrefix")
    private @Nullable Output namePrefix;

    /**
     * @return Creates a unique name beginning with the specified prefix. Conflicts with `name`.
     * 
     */
    public Optional> namePrefix() {
        return Optional.ofNullable(this.namePrefix);
    }

    /**
     * A list of DocumentDB parameters to apply. Setting parameters to system default values may show a difference on imported resources.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return A list of DocumentDB parameters to apply. Setting parameters to system default values may show a difference on imported resources.
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ClusterParameterGroupArgs() {}

    private ClusterParameterGroupArgs(ClusterParameterGroupArgs $) {
        this.description = $.description;
        this.family = $.family;
        this.name = $.name;
        this.namePrefix = $.namePrefix;
        this.parameters = $.parameters;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ClusterParameterGroupArgs $;

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

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

        /**
         * @param description The description of the DocumentDB cluster parameter group. Defaults to "Managed by Pulumi".
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the DocumentDB cluster parameter group. Defaults to "Managed by Pulumi".
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param family The family of the DocumentDB cluster parameter group.
         * 
         * @return builder
         * 
         */
        public Builder family(Output family) {
            $.family = family;
            return this;
        }

        /**
         * @param family The family of the DocumentDB cluster parameter group.
         * 
         * @return builder
         * 
         */
        public Builder family(String family) {
            return family(Output.of(family));
        }

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

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

        /**
         * @param namePrefix Creates a unique name beginning with the specified prefix. Conflicts with `name`.
         * 
         * @return builder
         * 
         */
        public Builder namePrefix(@Nullable Output namePrefix) {
            $.namePrefix = namePrefix;
            return this;
        }

        /**
         * @param namePrefix Creates a unique name beginning with the specified prefix. Conflicts with `name`.
         * 
         * @return builder
         * 
         */
        public Builder namePrefix(String namePrefix) {
            return namePrefix(Output.of(namePrefix));
        }

        /**
         * @param parameters A list of DocumentDB parameters to apply. Setting parameters to system default values may show a difference on imported resources.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters A list of DocumentDB parameters to apply. Setting parameters to system default values may show a difference on imported resources.
         * 
         * @return builder
         * 
         */
        public Builder parameters(List parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param parameters A list of DocumentDB parameters to apply. Setting parameters to system default values may show a difference on imported resources.
         * 
         * @return builder
         * 
         */
        public Builder parameters(ClusterParameterGroupParameterArgs... parameters) {
            return parameters(List.of(parameters));
        }

        /**
         * @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy