Class SharingSettings
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.SharingSettings
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SharingSettings.Builder,SharingSettings>
@Generated("software.amazon.awssdk:codegen") public final class SharingSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SharingSettings.Builder,SharingSettings>
Specifies options for sharing Amazon SageMaker AI Studio notebooks. These settings are specified as part of
DefaultUserSettings
when theCreateDomain
API is called, and as part ofUserSettings
when theCreateUserProfile
API is called. WhenSharingSettings
is not specified, notebook sharing isn't allowed.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SharingSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
WhenNotebookOutputOption
isAllowed
, the Amazon Web Services Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.String
s3OutputPath()
WhenNotebookOutputOption
isAllowed
, the Amazon S3 bucket used to store the shared notebook snapshots.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends SharingSettings.Builder>
serializableBuilderClass()
SharingSettings.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
notebookOutputOption
public final 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 returnNotebookOutputOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnotebookOutputOptionAsString()
.- Returns:
- Whether to include the notebook cell output when sharing the notebook. The default is
Disabled
. - See Also:
NotebookOutputOption
-
notebookOutputOptionAsString
public final 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 returnNotebookOutputOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnotebookOutputOptionAsString()
.- Returns:
- Whether to include the notebook cell output when sharing the notebook. The default is
Disabled
. - See Also:
NotebookOutputOption
-
s3OutputPath
public final String s3OutputPath()
When
NotebookOutputOption
isAllowed
, the Amazon S3 bucket used to store the shared notebook snapshots.- Returns:
- When
NotebookOutputOption
isAllowed
, the Amazon S3 bucket used to store the shared notebook snapshots.
-
s3KmsKeyId
public final String s3KmsKeyId()
When
NotebookOutputOption
isAllowed
, the Amazon Web Services Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.- Returns:
- When
NotebookOutputOption
isAllowed
, the Amazon Web Services Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
-
toBuilder
public SharingSettings.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SharingSettings.Builder,SharingSettings>
-
builder
public static SharingSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends SharingSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-