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

com.pulumi.aws.kendra.inputs.QuerySuggestionsBlockListSourceS3PathArgs 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.kendra.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;


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

    public static final QuerySuggestionsBlockListSourceS3PathArgs Empty = new QuerySuggestionsBlockListSourceS3PathArgs();

    /**
     * Name of the S3 bucket that contains the file.
     * 
     */
    @Import(name="bucket", required=true)
    private Output bucket;

    /**
     * @return Name of the S3 bucket that contains the file.
     * 
     */
    public Output bucket() {
        return this.bucket;
    }

    /**
     * Name of the file.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="key", required=true)
    private Output key;

    /**
     * @return Name of the file.
     * 
     * The following arguments are optional:
     * 
     */
    public Output key() {
        return this.key;
    }

    private QuerySuggestionsBlockListSourceS3PathArgs() {}

    private QuerySuggestionsBlockListSourceS3PathArgs(QuerySuggestionsBlockListSourceS3PathArgs $) {
        this.bucket = $.bucket;
        this.key = $.key;
    }

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

    public static final class Builder {
        private QuerySuggestionsBlockListSourceS3PathArgs $;

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

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

        /**
         * @param bucket Name of the S3 bucket that contains the file.
         * 
         * @return builder
         * 
         */
        public Builder bucket(Output bucket) {
            $.bucket = bucket;
            return this;
        }

        /**
         * @param bucket Name of the S3 bucket that contains the file.
         * 
         * @return builder
         * 
         */
        public Builder bucket(String bucket) {
            return bucket(Output.of(bucket));
        }

        /**
         * @param key Name of the file.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder key(Output key) {
            $.key = key;
            return this;
        }

        /**
         * @param key Name of the file.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder key(String key) {
            return key(Output.of(key));
        }

        public QuerySuggestionsBlockListSourceS3PathArgs build() {
            if ($.bucket == null) {
                throw new MissingRequiredPropertyException("QuerySuggestionsBlockListSourceS3PathArgs", "bucket");
            }
            if ($.key == null) {
                throw new MissingRequiredPropertyException("QuerySuggestionsBlockListSourceS3PathArgs", "key");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy