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

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

@CustomType
public final class FlowDefinitionOutputConfig {
    /**
     * @return The Amazon Key Management Service (KMS) key ARN for server-side encryption.
     * 
     */
    private @Nullable String kmsKeyId;
    /**
     * @return The Amazon S3 path where the object containing human output will be made available.
     * 
     */
    private String s3OutputPath;

    private FlowDefinitionOutputConfig() {}
    /**
     * @return The Amazon Key Management Service (KMS) key ARN for server-side encryption.
     * 
     */
    public Optional<String> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }
    /**
     * @return The Amazon S3 path where the object containing human output will be made available.
     * 
     */
    public String s3OutputPath() {
        return this.s3OutputPath;
    }

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

    public static Builder builder(FlowDefinitionOutputConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String kmsKeyId;
        private String s3OutputPath;
        public Builder() {}
        public Builder(FlowDefinitionOutputConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.kmsKeyId = defaults.kmsKeyId;
    	      this.s3OutputPath = defaults.s3OutputPath;
        }

        @CustomType.Setter
        public Builder kmsKeyId(@Nullable String kmsKeyId) {
            this.kmsKeyId = kmsKeyId;
            return this;
        }
        @CustomType.Setter
        public Builder s3OutputPath(String s3OutputPath) {
            this.s3OutputPath = Objects.requireNonNull(s3OutputPath);
            return this;
        }
        public FlowDefinitionOutputConfig build() {
            final var o = new FlowDefinitionOutputConfig();
            o.kmsKeyId = kmsKeyId;
            o.s3OutputPath = s3OutputPath;
            return o;
        }
    }
}
