@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SharingSettings extends Object implements Serializable, Cloneable, StructuredPojo
Specifies options when sharing an Amazon SageMaker Studio notebook. 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.
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 AWS 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 save the notebook
cell output. |
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 AWS 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 save the notebook
cell output. |
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 AWS 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 save the notebook
cell output. |
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
.NotebookOutputOption
public String getNotebookOutputOption()
Whether to include the notebook cell output when sharing the notebook. The default is Disabled
.
Disabled
.NotebookOutputOption
public 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
.NotebookOutputOption
public 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
.NotebookOutputOption
public void setS3OutputPath(String s3OutputPath)
When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to save the notebook
cell output.
s3OutputPath
- When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to save the
notebook cell output.public String getS3OutputPath()
When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to save the notebook
cell output.
NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to save the
notebook cell output.public SharingSettings withS3OutputPath(String s3OutputPath)
When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to save the notebook
cell output.
s3OutputPath
- When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to save the
notebook cell output.public void setS3KmsKeyId(String s3KmsKeyId)
When NotebookOutputOption
is Allowed
, the AWS 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 AWS 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 AWS Key Management Service (KMS) encryption
key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
NotebookOutputOption
is Allowed
, the AWS 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 AWS 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 AWS 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 Object
Object.toString()
public SharingSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.