Struct aws_sdk_athena::model::notebook_metadata::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NotebookMetadata
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> NotebookMetadata
pub fn build(self) -> NotebookMetadata
Consumes the builder and constructs a NotebookMetadata
.