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

com.pulumi.mongodbatlas.inputs.FederatedDatabaseInstanceStorageStoreArgs 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.mongodbatlas.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.mongodbatlas.inputs.FederatedDatabaseInstanceStorageStoreReadPreferenceArgs;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final FederatedDatabaseInstanceStorageStoreArgs Empty = new FederatedDatabaseInstanceStorageStoreArgs();

    @Import(name="additionalStorageClasses")
    private @Nullable Output> additionalStorageClasses;

    public Optional>> additionalStorageClasses() {
        return Optional.ofNullable(this.additionalStorageClasses);
    }

    @Import(name="allowInsecure")
    private @Nullable Output allowInsecure;

    public Optional> allowInsecure() {
        return Optional.ofNullable(this.allowInsecure);
    }

    @Import(name="bucket")
    private @Nullable Output bucket;

    public Optional> bucket() {
        return Optional.ofNullable(this.bucket);
    }

    @Import(name="clusterName")
    private @Nullable Output clusterName;

    public Optional> clusterName() {
        return Optional.ofNullable(this.clusterName);
    }

    @Import(name="defaultFormat")
    private @Nullable Output defaultFormat;

    public Optional> defaultFormat() {
        return Optional.ofNullable(this.defaultFormat);
    }

    @Import(name="delimiter")
    private @Nullable Output delimiter;

    public Optional> delimiter() {
        return Optional.ofNullable(this.delimiter);
    }

    @Import(name="includeTags")
    private @Nullable Output includeTags;

    public Optional> includeTags() {
        return Optional.ofNullable(this.includeTags);
    }

    /**
     * Name of the Atlas Federated Database Instance.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the Atlas Federated Database Instance.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    @Import(name="prefix")
    private @Nullable Output prefix;

    public Optional> prefix() {
        return Optional.ofNullable(this.prefix);
    }

    /**
     * The unique ID for the project to create a Federated Database Instance.
     * 
     */
    @Import(name="projectId")
    private @Nullable Output projectId;

    /**
     * @return The unique ID for the project to create a Federated Database Instance.
     * 
     */
    public Optional> projectId() {
        return Optional.ofNullable(this.projectId);
    }

    @Import(name="provider")
    private @Nullable Output provider;

    public Optional> provider() {
        return Optional.ofNullable(this.provider);
    }

    @Import(name="public")
    private @Nullable Output public_;

    public Optional> public_() {
        return Optional.ofNullable(this.public_);
    }

    @Import(name="readPreference")
    private @Nullable Output readPreference;

    public Optional> readPreference() {
        return Optional.ofNullable(this.readPreference);
    }

    @Import(name="region")
    private @Nullable Output region;

    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    @Import(name="urls")
    private @Nullable Output> urls;

    public Optional>> urls() {
        return Optional.ofNullable(this.urls);
    }

    private FederatedDatabaseInstanceStorageStoreArgs() {}

    private FederatedDatabaseInstanceStorageStoreArgs(FederatedDatabaseInstanceStorageStoreArgs $) {
        this.additionalStorageClasses = $.additionalStorageClasses;
        this.allowInsecure = $.allowInsecure;
        this.bucket = $.bucket;
        this.clusterName = $.clusterName;
        this.defaultFormat = $.defaultFormat;
        this.delimiter = $.delimiter;
        this.includeTags = $.includeTags;
        this.name = $.name;
        this.prefix = $.prefix;
        this.projectId = $.projectId;
        this.provider = $.provider;
        this.public_ = $.public_;
        this.readPreference = $.readPreference;
        this.region = $.region;
        this.urls = $.urls;
    }

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

    public static final class Builder {
        private FederatedDatabaseInstanceStorageStoreArgs $;

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

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

        public Builder additionalStorageClasses(@Nullable Output> additionalStorageClasses) {
            $.additionalStorageClasses = additionalStorageClasses;
            return this;
        }

        public Builder additionalStorageClasses(List additionalStorageClasses) {
            return additionalStorageClasses(Output.of(additionalStorageClasses));
        }

        public Builder additionalStorageClasses(String... additionalStorageClasses) {
            return additionalStorageClasses(List.of(additionalStorageClasses));
        }

        public Builder allowInsecure(@Nullable Output allowInsecure) {
            $.allowInsecure = allowInsecure;
            return this;
        }

        public Builder allowInsecure(Boolean allowInsecure) {
            return allowInsecure(Output.of(allowInsecure));
        }

        public Builder bucket(@Nullable Output bucket) {
            $.bucket = bucket;
            return this;
        }

        public Builder bucket(String bucket) {
            return bucket(Output.of(bucket));
        }

        public Builder clusterName(@Nullable Output clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        public Builder clusterName(String clusterName) {
            return clusterName(Output.of(clusterName));
        }

        public Builder defaultFormat(@Nullable Output defaultFormat) {
            $.defaultFormat = defaultFormat;
            return this;
        }

        public Builder defaultFormat(String defaultFormat) {
            return defaultFormat(Output.of(defaultFormat));
        }

        public Builder delimiter(@Nullable Output delimiter) {
            $.delimiter = delimiter;
            return this;
        }

        public Builder delimiter(String delimiter) {
            return delimiter(Output.of(delimiter));
        }

        public Builder includeTags(@Nullable Output includeTags) {
            $.includeTags = includeTags;
            return this;
        }

        public Builder includeTags(Boolean includeTags) {
            return includeTags(Output.of(includeTags));
        }

        /**
         * @param name Name of the Atlas Federated Database Instance.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

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

        public Builder prefix(@Nullable Output prefix) {
            $.prefix = prefix;
            return this;
        }

        public Builder prefix(String prefix) {
            return prefix(Output.of(prefix));
        }

        /**
         * @param projectId The unique ID for the project to create a Federated Database Instance.
         * 
         * @return builder
         * 
         */
        public Builder projectId(@Nullable Output projectId) {
            $.projectId = projectId;
            return this;
        }

        /**
         * @param projectId The unique ID for the project to create a Federated Database Instance.
         * 
         * @return builder
         * 
         */
        public Builder projectId(String projectId) {
            return projectId(Output.of(projectId));
        }

        public Builder provider(@Nullable Output provider) {
            $.provider = provider;
            return this;
        }

        public Builder provider(String provider) {
            return provider(Output.of(provider));
        }

        public Builder public_(@Nullable Output public_) {
            $.public_ = public_;
            return this;
        }

        public Builder public_(String public_) {
            return public_(Output.of(public_));
        }

        public Builder readPreference(@Nullable Output readPreference) {
            $.readPreference = readPreference;
            return this;
        }

        public Builder readPreference(FederatedDatabaseInstanceStorageStoreReadPreferenceArgs readPreference) {
            return readPreference(Output.of(readPreference));
        }

        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        public Builder region(String region) {
            return region(Output.of(region));
        }

        public Builder urls(@Nullable Output> urls) {
            $.urls = urls;
            return this;
        }

        public Builder urls(List urls) {
            return urls(Output.of(urls));
        }

        public Builder urls(String... urls) {
            return urls(List.of(urls));
        }

        public FederatedDatabaseInstanceStorageStoreArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy