Struct aws_sdk_athena::operation::update_notebook_metadata::builders::UpdateNotebookMetadataInputBuilder
source · #[non_exhaustive]pub struct UpdateNotebookMetadataInputBuilder { /* private fields */ }Expand description
A builder for UpdateNotebookMetadataInput.
Implementations§
source§impl UpdateNotebookMetadataInputBuilder
impl UpdateNotebookMetadataInputBuilder
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 the metadata for.
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 the metadata for.
sourcepub fn get_notebook_id(&self) -> &Option<String>
pub fn get_notebook_id(&self) -> &Option<String>
The ID of the notebook to update the metadata for.
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<UpdateNotebookMetadataInput, BuildError>
pub fn build(self) -> Result<UpdateNotebookMetadataInput, BuildError>
Consumes the builder and constructs a UpdateNotebookMetadataInput.
source§impl UpdateNotebookMetadataInputBuilder
impl UpdateNotebookMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateNotebookMetadataOutput, SdkError<UpdateNotebookMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateNotebookMetadataOutput, SdkError<UpdateNotebookMetadataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateNotebookMetadataInputBuilder
impl Clone for UpdateNotebookMetadataInputBuilder
source§fn clone(&self) -> UpdateNotebookMetadataInputBuilder
fn clone(&self) -> UpdateNotebookMetadataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateNotebookMetadataInputBuilder
impl Default for UpdateNotebookMetadataInputBuilder
source§fn default() -> UpdateNotebookMetadataInputBuilder
fn default() -> UpdateNotebookMetadataInputBuilder
source§impl PartialEq<UpdateNotebookMetadataInputBuilder> for UpdateNotebookMetadataInputBuilder
impl PartialEq<UpdateNotebookMetadataInputBuilder> for UpdateNotebookMetadataInputBuilder
source§fn eq(&self, other: &UpdateNotebookMetadataInputBuilder) -> bool
fn eq(&self, other: &UpdateNotebookMetadataInputBuilder) -> bool
self and other values to be equal, and is used
by ==.