// *** 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 DomainDefaultUserSettingsSharingSettings {
    /**
     * @return Whether to include the notebook cell output when sharing the notebook. The default is `Disabled`. Valid values are `Allowed` and `Disabled`.
     * 
     */
    private @Nullable String notebookOutputOption;
    /**
     * @return When `notebook_output_option` is Allowed, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
     * 
     */
    private @Nullable String s3KmsKeyId;
    /**
     * @return When `notebook_output_option` is Allowed, the Amazon S3 bucket used to save the notebook cell output.
     * 
     */
    private @Nullable String s3OutputPath;

    private DomainDefaultUserSettingsSharingSettings() {}
    /**
     * @return Whether to include the notebook cell output when sharing the notebook. The default is `Disabled`. Valid values are `Allowed` and `Disabled`.
     * 
     */
    public Optional<String> notebookOutputOption() {
        return Optional.ofNullable(this.notebookOutputOption);
    }
    /**
     * @return When `notebook_output_option` is Allowed, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
     * 
     */
    public Optional<String> s3KmsKeyId() {
        return Optional.ofNullable(this.s3KmsKeyId);
    }
    /**
     * @return When `notebook_output_option` is Allowed, the Amazon S3 bucket used to save the notebook cell output.
     * 
     */
    public Optional<String> s3OutputPath() {
        return Optional.ofNullable(this.s3OutputPath);
    }

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

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

        @CustomType.Setter
        public Builder notebookOutputOption(@Nullable String notebookOutputOption) {
            this.notebookOutputOption = notebookOutputOption;
            return this;
        }
        @CustomType.Setter
        public Builder s3KmsKeyId(@Nullable String s3KmsKeyId) {
            this.s3KmsKeyId = s3KmsKeyId;
            return this;
        }
        @CustomType.Setter
        public Builder s3OutputPath(@Nullable String s3OutputPath) {
            this.s3OutputPath = s3OutputPath;
            return this;
        }
        public DomainDefaultUserSettingsSharingSettings build() {
            final var o = new DomainDefaultUserSettingsSharingSettings();
            o.notebookOutputOption = notebookOutputOption;
            o.s3KmsKeyId = s3KmsKeyId;
            o.s3OutputPath = s3OutputPath;
            return o;
        }
    }
}
