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 ==.