#[non_exhaustive]pub struct UpdateNotebookInputBuilder { /* private fields */ }Expand description
A builder for UpdateNotebookInput.
Implementations§
source§impl UpdateNotebookInputBuilder
impl UpdateNotebookInputBuilder
sourcepub fn notebook_id(self, input: impl Into<String>) -> Self
pub fn notebook_id(self, input: impl Into<String>) -> Self
The ID of the notebook to update.
This field is required.sourcepub fn set_notebook_id(self, input: Option<String>) -> Self
pub fn set_notebook_id(self, input: Option<String>) -> Self
The ID of the notebook to update.
sourcepub fn get_notebook_id(&self) -> &Option<String>
pub fn get_notebook_id(&self) -> &Option<String>
The ID of the notebook to update.
sourcepub fn payload(self, input: impl Into<String>) -> Self
pub fn payload(self, input: impl Into<String>) -> Self
The updated content for the notebook.
This field is required.sourcepub fn set_payload(self, input: Option<String>) -> Self
pub fn set_payload(self, input: Option<String>) -> Self
The updated content for the notebook.
sourcepub fn get_payload(&self) -> &Option<String>
pub fn get_payload(&self) -> &Option<String>
The updated content for the notebook.
sourcepub fn type(self, input: NotebookType) -> Self
pub fn type(self, input: NotebookType) -> Self
The notebook content type. 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 notebook content type. Currently, the only valid type is IPYNB.
sourcepub fn get_type(&self) -> &Option<NotebookType>
pub fn get_type(&self) -> &Option<NotebookType>
The notebook content type. Currently, the only valid type is IPYNB.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The active notebook session ID. Required if the notebook has an active session.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The active notebook session ID. Required if the notebook has an active session.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The active notebook session ID. Required if the notebook has an active session.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only once).
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only once).
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only once).
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
sourcepub fn build(self) -> Result<UpdateNotebookInput, BuildError>
pub fn build(self) -> Result<UpdateNotebookInput, BuildError>
Consumes the builder and constructs a UpdateNotebookInput.
source§impl UpdateNotebookInputBuilder
impl UpdateNotebookInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateNotebookOutput, SdkError<UpdateNotebookError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateNotebookOutput, SdkError<UpdateNotebookError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateNotebookInputBuilder
impl Clone for UpdateNotebookInputBuilder
source§fn clone(&self) -> UpdateNotebookInputBuilder
fn clone(&self) -> UpdateNotebookInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateNotebookInputBuilder
impl Debug for UpdateNotebookInputBuilder
source§impl Default for UpdateNotebookInputBuilder
impl Default for UpdateNotebookInputBuilder
source§fn default() -> UpdateNotebookInputBuilder
fn default() -> UpdateNotebookInputBuilder
source§impl PartialEq for UpdateNotebookInputBuilder
impl PartialEq for UpdateNotebookInputBuilder
source§fn eq(&self, other: &UpdateNotebookInputBuilder) -> bool
fn eq(&self, other: &UpdateNotebookInputBuilder) -> bool
self and other values to be equal, and is used
by ==.