Struct aws_sdk_athena::types::builders::NotebookMetadataBuilder
source · #[non_exhaustive]pub struct NotebookMetadataBuilder { /* private fields */ }Expand description
A builder for NotebookMetadata.
Implementations§
source§impl NotebookMetadataBuilder
impl NotebookMetadataBuilder
sourcepub fn notebook_id(self, input: impl Into<String>) -> Self
pub fn notebook_id(self, input: impl Into<String>) -> Self
The notebook ID.
sourcepub fn set_notebook_id(self, input: Option<String>) -> Self
pub fn set_notebook_id(self, input: Option<String>) -> Self
The notebook ID.
sourcepub fn get_notebook_id(&self) -> &Option<String>
pub fn get_notebook_id(&self) -> &Option<String>
The notebook ID.
sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The name of the Spark enabled workgroup to which the notebook belongs.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The name of the Spark enabled workgroup to which the notebook belongs.
sourcepub fn get_work_group(&self) -> &Option<String>
pub fn get_work_group(&self) -> &Option<String>
The name of the Spark enabled workgroup to which the notebook belongs.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when the notebook was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when the notebook was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time when the notebook was created.
sourcepub fn type(self, input: NotebookType) -> Self
pub fn type(self, input: NotebookType) -> Self
The type of notebook. Currently, the only valid type is IPYNB.
sourcepub fn set_type(self, input: Option<NotebookType>) -> Self
pub fn set_type(self, input: Option<NotebookType>) -> Self
The type of notebook. Currently, the only valid type is IPYNB.
sourcepub fn get_type(&self) -> &Option<NotebookType>
pub fn get_type(&self) -> &Option<NotebookType>
The type of notebook. Currently, the only valid type is IPYNB.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The time when the notebook was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The time when the notebook was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The time when the notebook was last modified.
sourcepub fn build(self) -> NotebookMetadata
pub fn build(self) -> NotebookMetadata
Consumes the builder and constructs a NotebookMetadata.
Trait Implementations§
source§impl Clone for NotebookMetadataBuilder
impl Clone for NotebookMetadataBuilder
source§fn clone(&self) -> NotebookMetadataBuilder
fn clone(&self) -> NotebookMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for NotebookMetadataBuilder
impl Debug for NotebookMetadataBuilder
source§impl Default for NotebookMetadataBuilder
impl Default for NotebookMetadataBuilder
source§fn default() -> NotebookMetadataBuilder
fn default() -> NotebookMetadataBuilder
source§impl PartialEq for NotebookMetadataBuilder
impl PartialEq for NotebookMetadataBuilder
source§fn eq(&self, other: &NotebookMetadataBuilder) -> bool
fn eq(&self, other: &NotebookMetadataBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NotebookMetadataBuilder
Auto Trait Implementations§
impl Freeze for NotebookMetadataBuilder
impl RefUnwindSafe for NotebookMetadataBuilder
impl Send for NotebookMetadataBuilder
impl Sync for NotebookMetadataBuilder
impl Unpin for NotebookMetadataBuilder
impl UnwindSafe for NotebookMetadataBuilder
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> 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