// *** 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.comprehend.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 DocumentClassifierOutputDataConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final DocumentClassifierOutputDataConfigArgs Empty = new DocumentClassifierOutputDataConfigArgs();

    /**
     * KMS Key used to encrypt the output documents.
     * Can be a KMS Key ID, a KMS Key ARN, a KMS Alias name, or a KMS Alias ARN.
     * 
     */
    @Import(name="kmsKeyId")
    private @Nullable Output<String> kmsKeyId;

    /**
     * @return KMS Key used to encrypt the output documents.
     * Can be a KMS Key ID, a KMS Key ARN, a KMS Alias name, or a KMS Alias ARN.
     * 
     */
    public Optional<Output<String>> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }

    /**
     * Full path for the output documents.
     * 
     */
    @Import(name="outputS3Uri")
    private @Nullable Output<String> outputS3Uri;

    /**
     * @return Full path for the output documents.
     * 
     */
    public Optional<Output<String>> outputS3Uri() {
        return Optional.ofNullable(this.outputS3Uri);
    }

    /**
     * Destination path for the output documents.
     * The full path to the output file will be returned in `output_s3_uri`.
     * 
     */
    @Import(name="s3Uri", required=true)
    private Output<String> s3Uri;

    /**
     * @return Destination path for the output documents.
     * The full path to the output file will be returned in `output_s3_uri`.
     * 
     */
    public Output<String> s3Uri() {
        return this.s3Uri;
    }

    private DocumentClassifierOutputDataConfigArgs() {}

    private DocumentClassifierOutputDataConfigArgs(DocumentClassifierOutputDataConfigArgs $) {
        this.kmsKeyId = $.kmsKeyId;
        this.outputS3Uri = $.outputS3Uri;
        this.s3Uri = $.s3Uri;
    }

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

    public static final class Builder {
        private DocumentClassifierOutputDataConfigArgs $;

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

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

        /**
         * @param kmsKeyId KMS Key used to encrypt the output documents.
         * Can be a KMS Key ID, a KMS Key ARN, a KMS Alias name, or a KMS Alias ARN.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(@Nullable Output<String> kmsKeyId) {
            $.kmsKeyId = kmsKeyId;
            return this;
        }

        /**
         * @param kmsKeyId KMS Key used to encrypt the output documents.
         * Can be a KMS Key ID, a KMS Key ARN, a KMS Alias name, or a KMS Alias ARN.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(String kmsKeyId) {
            return kmsKeyId(Output.of(kmsKeyId));
        }

        /**
         * @param outputS3Uri Full path for the output documents.
         * 
         * @return builder
         * 
         */
        public Builder outputS3Uri(@Nullable Output<String> outputS3Uri) {
            $.outputS3Uri = outputS3Uri;
            return this;
        }

        /**
         * @param outputS3Uri Full path for the output documents.
         * 
         * @return builder
         * 
         */
        public Builder outputS3Uri(String outputS3Uri) {
            return outputS3Uri(Output.of(outputS3Uri));
        }

        /**
         * @param s3Uri Destination path for the output documents.
         * The full path to the output file will be returned in `output_s3_uri`.
         * 
         * @return builder
         * 
         */
        public Builder s3Uri(Output<String> s3Uri) {
            $.s3Uri = s3Uri;
            return this;
        }

        /**
         * @param s3Uri Destination path for the output documents.
         * The full path to the output file will be returned in `output_s3_uri`.
         * 
         * @return builder
         * 
         */
        public Builder s3Uri(String s3Uri) {
            return s3Uri(Output.of(s3Uri));
        }

        public DocumentClassifierOutputDataConfigArgs build() {
            $.s3Uri = Objects.requireNonNull($.s3Uri, "expected parameter 's3Uri' to be non-null");
            return $;
        }
    }

}
