@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SharingSettings extends Object implements Serializable, Cloneable, StructuredPojo
Specifies options for sharing Amazon SageMaker Studio notebooks. These settings are specified as part of
DefaultUserSettings when the CreateDomain API is called, and as part of
UserSettings when the CreateUserProfile API is called. When SharingSettings is
not specified, notebook sharing isn't allowed.
| Constructor and Description |
|---|
SharingSettings() |
| Modifier and Type | Method and Description |
|---|---|
SharingSettings |
clone() |
boolean |
equals(Object obj) |
String |
getNotebookOutputOption()
Whether to include the notebook cell output when sharing the notebook.
|
String |
getS3KmsKeyId()
When
NotebookOutputOption is Allowed, the Amazon Web Services Key Management Service
(KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket. |
String |
getS3OutputPath()
When
NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared
notebook snapshots. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNotebookOutputOption(String notebookOutputOption)
Whether to include the notebook cell output when sharing the notebook.
|
void |
setS3KmsKeyId(String s3KmsKeyId)
When
NotebookOutputOption is Allowed, the Amazon Web Services Key Management Service
(KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket. |
void |
setS3OutputPath(String s3OutputPath)
When
NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared
notebook snapshots. |
String |
toString()
Returns a string representation of this object.
|
SharingSettings |
withNotebookOutputOption(NotebookOutputOption notebookOutputOption)
Whether to include the notebook cell output when sharing the notebook.
|
SharingSettings |
withNotebookOutputOption(String notebookOutputOption)
Whether to include the notebook cell output when sharing the notebook.
|
SharingSettings |
withS3KmsKeyId(String s3KmsKeyId)
When
NotebookOutputOption is Allowed, the Amazon Web Services Key Management Service
(KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket. |
SharingSettings |
withS3OutputPath(String s3OutputPath)
When
NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared
notebook snapshots. |
public void setNotebookOutputOption(String notebookOutputOption)
Whether to include the notebook cell output when sharing the notebook. The default is Disabled.
notebookOutputOption - Whether to include the notebook cell output when sharing the notebook. The default is
Disabled.NotebookOutputOptionpublic String getNotebookOutputOption()
Whether to include the notebook cell output when sharing the notebook. The default is Disabled.
Disabled.NotebookOutputOptionpublic SharingSettings withNotebookOutputOption(String notebookOutputOption)
Whether to include the notebook cell output when sharing the notebook. The default is Disabled.
notebookOutputOption - Whether to include the notebook cell output when sharing the notebook. The default is
Disabled.NotebookOutputOptionpublic SharingSettings withNotebookOutputOption(NotebookOutputOption notebookOutputOption)
Whether to include the notebook cell output when sharing the notebook. The default is Disabled.
notebookOutputOption - Whether to include the notebook cell output when sharing the notebook. The default is
Disabled.NotebookOutputOptionpublic void setS3OutputPath(String s3OutputPath)
When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared
notebook snapshots.
s3OutputPath - When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the
shared notebook snapshots.public String getS3OutputPath()
When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared
notebook snapshots.
NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the
shared notebook snapshots.public SharingSettings withS3OutputPath(String s3OutputPath)
When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared
notebook snapshots.
s3OutputPath - When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the
shared notebook snapshots.public void setS3KmsKeyId(String s3KmsKeyId)
When NotebookOutputOption is Allowed, the Amazon Web Services Key Management Service
(KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
s3KmsKeyId - When NotebookOutputOption is Allowed, the Amazon Web Services Key Management
Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.public String getS3KmsKeyId()
When NotebookOutputOption is Allowed, the Amazon Web Services Key Management Service
(KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
NotebookOutputOption is Allowed, the Amazon Web Services Key Management
Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.public SharingSettings withS3KmsKeyId(String s3KmsKeyId)
When NotebookOutputOption is Allowed, the Amazon Web Services Key Management Service
(KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
s3KmsKeyId - When NotebookOutputOption is Allowed, the Amazon Web Services Key Management
Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.public String toString()
toString in class ObjectObject.toString()public SharingSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.