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

com.pulumi.aws.elasticsearch.inputs.DomainAdvancedSecurityOptionsMasterUserOptionsArgs 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.66.3
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.elasticsearch.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DomainAdvancedSecurityOptionsMasterUserOptionsArgs Empty = new DomainAdvancedSecurityOptionsMasterUserOptionsArgs();

    /**
     * ARN for the main user. Only specify if `internal_user_database_enabled` is not set or set to `false`.
     * 
     */
    @Import(name="masterUserArn")
    private @Nullable Output masterUserArn;

    /**
     * @return ARN for the main user. Only specify if `internal_user_database_enabled` is not set or set to `false`.
     * 
     */
    public Optional> masterUserArn() {
        return Optional.ofNullable(this.masterUserArn);
    }

    /**
     * Main user's username, which is stored in the Amazon Elasticsearch Service domain's internal database. Only specify if `internal_user_database_enabled` is set to `true`.
     * 
     */
    @Import(name="masterUserName")
    private @Nullable Output masterUserName;

    /**
     * @return Main user's username, which is stored in the Amazon Elasticsearch Service domain's internal database. Only specify if `internal_user_database_enabled` is set to `true`.
     * 
     */
    public Optional> masterUserName() {
        return Optional.ofNullable(this.masterUserName);
    }

    /**
     * Main user's password, which is stored in the Amazon Elasticsearch Service domain's internal database. Only specify if `internal_user_database_enabled` is set to `true`.
     * 
     */
    @Import(name="masterUserPassword")
    private @Nullable Output masterUserPassword;

    /**
     * @return Main user's password, which is stored in the Amazon Elasticsearch Service domain's internal database. Only specify if `internal_user_database_enabled` is set to `true`.
     * 
     */
    public Optional> masterUserPassword() {
        return Optional.ofNullable(this.masterUserPassword);
    }

    private DomainAdvancedSecurityOptionsMasterUserOptionsArgs() {}

    private DomainAdvancedSecurityOptionsMasterUserOptionsArgs(DomainAdvancedSecurityOptionsMasterUserOptionsArgs $) {
        this.masterUserArn = $.masterUserArn;
        this.masterUserName = $.masterUserName;
        this.masterUserPassword = $.masterUserPassword;
    }

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

    public static final class Builder {
        private DomainAdvancedSecurityOptionsMasterUserOptionsArgs $;

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

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

        /**
         * @param masterUserArn ARN for the main user. Only specify if `internal_user_database_enabled` is not set or set to `false`.
         * 
         * @return builder
         * 
         */
        public Builder masterUserArn(@Nullable Output masterUserArn) {
            $.masterUserArn = masterUserArn;
            return this;
        }

        /**
         * @param masterUserArn ARN for the main user. Only specify if `internal_user_database_enabled` is not set or set to `false`.
         * 
         * @return builder
         * 
         */
        public Builder masterUserArn(String masterUserArn) {
            return masterUserArn(Output.of(masterUserArn));
        }

        /**
         * @param masterUserName Main user's username, which is stored in the Amazon Elasticsearch Service domain's internal database. Only specify if `internal_user_database_enabled` is set to `true`.
         * 
         * @return builder
         * 
         */
        public Builder masterUserName(@Nullable Output masterUserName) {
            $.masterUserName = masterUserName;
            return this;
        }

        /**
         * @param masterUserName Main user's username, which is stored in the Amazon Elasticsearch Service domain's internal database. Only specify if `internal_user_database_enabled` is set to `true`.
         * 
         * @return builder
         * 
         */
        public Builder masterUserName(String masterUserName) {
            return masterUserName(Output.of(masterUserName));
        }

        /**
         * @param masterUserPassword Main user's password, which is stored in the Amazon Elasticsearch Service domain's internal database. Only specify if `internal_user_database_enabled` is set to `true`.
         * 
         * @return builder
         * 
         */
        public Builder masterUserPassword(@Nullable Output masterUserPassword) {
            $.masterUserPassword = masterUserPassword;
            return this;
        }

        /**
         * @param masterUserPassword Main user's password, which is stored in the Amazon Elasticsearch Service domain's internal database. Only specify if `internal_user_database_enabled` is set to `true`.
         * 
         * @return builder
         * 
         */
        public Builder masterUserPassword(String masterUserPassword) {
            return masterUserPassword(Output.of(masterUserPassword));
        }

        public DomainAdvancedSecurityOptionsMasterUserOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy