Struct aws_sdk_sagemaker::types::builders::SharingSettingsBuilder
source · #[non_exhaustive]pub struct SharingSettingsBuilder { /* private fields */ }
Expand description
A builder for SharingSettings
.
Implementations§
source§impl SharingSettingsBuilder
impl SharingSettingsBuilder
sourcepub fn notebook_output_option(self, input: NotebookOutputOption) -> Self
pub fn notebook_output_option(self, input: NotebookOutputOption) -> Self
Whether to include the notebook cell output when sharing the notebook. The default is Disabled
.
sourcepub fn set_notebook_output_option(
self,
input: Option<NotebookOutputOption>,
) -> Self
pub fn set_notebook_output_option( self, input: Option<NotebookOutputOption>, ) -> Self
Whether to include the notebook cell output when sharing the notebook. The default is Disabled
.
sourcepub fn get_notebook_output_option(&self) -> &Option<NotebookOutputOption>
pub fn get_notebook_output_option(&self) -> &Option<NotebookOutputOption>
Whether to include the notebook cell output when sharing the notebook. The default is Disabled
.
sourcepub fn s3_output_path(self, input: impl Into<String>) -> Self
pub fn s3_output_path(self, input: impl Into<String>) -> Self
When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to store the shared notebook snapshots.
sourcepub fn set_s3_output_path(self, input: Option<String>) -> Self
pub fn set_s3_output_path(self, input: Option<String>) -> Self
When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to store the shared notebook snapshots.
sourcepub fn get_s3_output_path(&self) -> &Option<String>
pub fn get_s3_output_path(&self) -> &Option<String>
When NotebookOutputOption
is Allowed
, the Amazon S3 bucket used to store the shared notebook snapshots.
sourcepub fn s3_kms_key_id(self, input: impl Into<String>) -> Self
pub fn s3_kms_key_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_s3_kms_key_id(self, input: Option<String>) -> Self
pub fn set_s3_kms_key_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_s3_kms_key_id(&self) -> &Option<String>
pub fn get_s3_kms_key_id(&self) -> &Option<String>
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.
sourcepub fn build(self) -> SharingSettings
pub fn build(self) -> SharingSettings
Consumes the builder and constructs a SharingSettings
.
Trait Implementations§
source§impl Clone for SharingSettingsBuilder
impl Clone for SharingSettingsBuilder
source§fn clone(&self) -> SharingSettingsBuilder
fn clone(&self) -> SharingSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SharingSettingsBuilder
impl Debug for SharingSettingsBuilder
source§impl Default for SharingSettingsBuilder
impl Default for SharingSettingsBuilder
source§fn default() -> SharingSettingsBuilder
fn default() -> SharingSettingsBuilder
source§impl PartialEq for SharingSettingsBuilder
impl PartialEq for SharingSettingsBuilder
impl StructuralPartialEq for SharingSettingsBuilder
Auto Trait Implementations§
impl Freeze for SharingSettingsBuilder
impl RefUnwindSafe for SharingSettingsBuilder
impl Send for SharingSettingsBuilder
impl Sync for SharingSettingsBuilder
impl Unpin for SharingSettingsBuilder
impl UnwindSafe for SharingSettingsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more