// *** 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.sagemaker.inputs;

import com.pulumi.aws.sagemaker.inputs.DataQualityJobDefinitionDataQualityJobOutputConfigMonitoringOutputsArgs;
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 DataQualityJobDefinitionDataQualityJobOutputConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataQualityJobDefinitionDataQualityJobOutputConfigArgs Empty = new DataQualityJobDefinitionDataQualityJobOutputConfigArgs();

    /**
     * The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
     * 
     */
    @Import(name="kmsKeyId")
    private @Nullable Output<String> kmsKeyId;

    /**
     * @return The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
     * 
     */
    public Optional<Output<String>> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }

    /**
     * Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. Fields are documented below.
     * 
     */
    @Import(name="monitoringOutputs", required=true)
    private Output<DataQualityJobDefinitionDataQualityJobOutputConfigMonitoringOutputsArgs> monitoringOutputs;

    /**
     * @return Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. Fields are documented below.
     * 
     */
    public Output<DataQualityJobDefinitionDataQualityJobOutputConfigMonitoringOutputsArgs> monitoringOutputs() {
        return this.monitoringOutputs;
    }

    private DataQualityJobDefinitionDataQualityJobOutputConfigArgs() {}

    private DataQualityJobDefinitionDataQualityJobOutputConfigArgs(DataQualityJobDefinitionDataQualityJobOutputConfigArgs $) {
        this.kmsKeyId = $.kmsKeyId;
        this.monitoringOutputs = $.monitoringOutputs;
    }

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

    public static final class Builder {
        private DataQualityJobDefinitionDataQualityJobOutputConfigArgs $;

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

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

        /**
         * @param kmsKeyId The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(@Nullable Output<String> kmsKeyId) {
            $.kmsKeyId = kmsKeyId;
            return this;
        }

        /**
         * @param kmsKeyId The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(String kmsKeyId) {
            return kmsKeyId(Output.of(kmsKeyId));
        }

        /**
         * @param monitoringOutputs Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. Fields are documented below.
         * 
         * @return builder
         * 
         */
        public Builder monitoringOutputs(Output<DataQualityJobDefinitionDataQualityJobOutputConfigMonitoringOutputsArgs> monitoringOutputs) {
            $.monitoringOutputs = monitoringOutputs;
            return this;
        }

        /**
         * @param monitoringOutputs Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. Fields are documented below.
         * 
         * @return builder
         * 
         */
        public Builder monitoringOutputs(DataQualityJobDefinitionDataQualityJobOutputConfigMonitoringOutputsArgs monitoringOutputs) {
            return monitoringOutputs(Output.of(monitoringOutputs));
        }

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

}
