com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsSharingSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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 UserProfileUserSettingsSharingSettings {
/**
* @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 UserProfileUserSettingsSharingSettings() {}
/**
* @return Whether to include the notebook cell output when sharing the notebook. The default is `Disabled`. Valid values are `Allowed` and `Disabled`.
*
*/
public Optional 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 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 s3OutputPath() {
return Optional.ofNullable(this.s3OutputPath);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserProfileUserSettingsSharingSettings 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(UserProfileUserSettingsSharingSettings 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 UserProfileUserSettingsSharingSettings build() {
final var _resultValue = new UserProfileUserSettingsSharingSettings();
_resultValue.notebookOutputOption = notebookOutputOption;
_resultValue.s3KmsKeyId = s3KmsKeyId;
_resultValue.s3OutputPath = s3OutputPath;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy