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
DefaultUserSettingswhen theCreateDomainAPI is called, and as part ofUserSettingswhen theCreateUserProfileAPI is called. WhenSharingSettingsis not specified, notebook sharing isn't allowed.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSharingSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SharingSettings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NotebookOutputOptionnotebookOutputOption()Whether to include the notebook cell output when sharing the notebook.StringnotebookOutputOptionAsString()Whether to include the notebook cell output when sharing the notebook.Strings3KmsKeyId()WhenNotebookOutputOptionisAllowed, the Amazon Web Services Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.Strings3OutputPath()WhenNotebookOutputOptionisAllowed, 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.BuildertoBuilder()StringtoString()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,
notebookOutputOptionwill 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,
notebookOutputOptionwill 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
NotebookOutputOptionisAllowed, the Amazon S3 bucket used to store the shared notebook snapshots.- Returns:
- When
NotebookOutputOptionisAllowed, the Amazon S3 bucket used to store the shared notebook snapshots.
-
s3KmsKeyId
public final String s3KmsKeyId()
When
NotebookOutputOptionisAllowed, 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
NotebookOutputOptionisAllowed, 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:
toBuilderin 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:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo
-
-