@Generated(value="software.amazon.awssdk:codegen") public final class SharingSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SharingSettings.Builder,SharingSettings>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
SharingSettings.Builder |
Modifier and Type | Method and Description |
---|---|
static SharingSettings.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
NotebookOutputOption |
notebookOutputOption()
Whether to include the notebook cell output when sharing the notebook.
|
String |
notebookOutputOptionAsString()
Whether to include the notebook cell output when sharing the notebook.
|
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. |
String |
s3OutputPath()
When
NotebookOutputOption is Allowed , the Amazon S3 bucket used to save the notebook
cell output. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SharingSettings.Builder> |
serializableBuilderClass() |
SharingSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public NotebookOutputOption notebookOutputOption()
Whether to include the notebook cell output when sharing the notebook. The default is Disabled
.
If the service returns an enum value that is not available in the current SDK version,
notebookOutputOption
will return NotebookOutputOption.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from notebookOutputOptionAsString()
.
Disabled
.NotebookOutputOption
public String notebookOutputOptionAsString()
Whether to include the notebook cell output when sharing the notebook. The default is Disabled
.
If the service returns an enum value that is not available in the current SDK version,
notebookOutputOption
will return NotebookOutputOption.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from notebookOutputOptionAsString()
.
Disabled
.NotebookOutputOption
public String s3OutputPath()
When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to save the notebook
cell output. If S3OutputPath
isn't specified, a default bucket is used.
NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to save the
notebook cell output. If S3OutputPath
isn't specified, a default bucket is used.public 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.
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.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SharingSettings.Builder,SharingSettings>
public static SharingSettings.Builder builder()
public static Class<? extends SharingSettings.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.