#[non_exhaustive]pub struct NotebookInstanceLifecycleHookBuilder { /* private fields */ }
Expand description
A builder for NotebookInstanceLifecycleHook
.
Implementations§
source§impl NotebookInstanceLifecycleHookBuilder
impl NotebookInstanceLifecycleHookBuilder
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
sourcepub fn build(self) -> NotebookInstanceLifecycleHook
pub fn build(self) -> NotebookInstanceLifecycleHook
Consumes the builder and constructs a NotebookInstanceLifecycleHook
.
Trait Implementations§
source§impl Clone for NotebookInstanceLifecycleHookBuilder
impl Clone for NotebookInstanceLifecycleHookBuilder
source§fn clone(&self) -> NotebookInstanceLifecycleHookBuilder
fn clone(&self) -> NotebookInstanceLifecycleHookBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for NotebookInstanceLifecycleHookBuilder
impl Default for NotebookInstanceLifecycleHookBuilder
source§fn default() -> NotebookInstanceLifecycleHookBuilder
fn default() -> NotebookInstanceLifecycleHookBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NotebookInstanceLifecycleHookBuilder
impl PartialEq for NotebookInstanceLifecycleHookBuilder
source§fn eq(&self, other: &NotebookInstanceLifecycleHookBuilder) -> bool
fn eq(&self, other: &NotebookInstanceLifecycleHookBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NotebookInstanceLifecycleHookBuilder
Auto Trait Implementations§
impl RefUnwindSafe for NotebookInstanceLifecycleHookBuilder
impl Send for NotebookInstanceLifecycleHookBuilder
impl Sync for NotebookInstanceLifecycleHookBuilder
impl Unpin for NotebookInstanceLifecycleHookBuilder
impl UnwindSafe for NotebookInstanceLifecycleHookBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.