#[non_exhaustive]pub struct CreateNotebookInputBuilder { /* private fields */ }Expand description
A builder for CreateNotebookInput.
Implementations§
source§impl CreateNotebookInputBuilder
impl CreateNotebookInputBuilder
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 in which the notebook will be created.
This field is required.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 in which the notebook will be created.
sourcepub fn get_work_group(&self) -> &Option<String>
pub fn get_work_group(&self) -> &Option<String>
The name of the Spark enabled workgroup in which the notebook will be created.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the ipynb file to be created in the Spark workgroup, without the .ipynb extension.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the ipynb file to be created in the Spark workgroup, without the .ipynb extension.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the ipynb file to be created in the Spark workgroup, without the .ipynb extension.
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<CreateNotebookInput, BuildError>
pub fn build(self) -> Result<CreateNotebookInput, BuildError>
Consumes the builder and constructs a CreateNotebookInput.
source§impl CreateNotebookInputBuilder
impl CreateNotebookInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateNotebookOutput, SdkError<CreateNotebookError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateNotebookOutput, SdkError<CreateNotebookError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateNotebookInputBuilder
impl Clone for CreateNotebookInputBuilder
source§fn clone(&self) -> CreateNotebookInputBuilder
fn clone(&self) -> CreateNotebookInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateNotebookInputBuilder
impl Debug for CreateNotebookInputBuilder
source§impl Default for CreateNotebookInputBuilder
impl Default for CreateNotebookInputBuilder
source§fn default() -> CreateNotebookInputBuilder
fn default() -> CreateNotebookInputBuilder
source§impl PartialEq for CreateNotebookInputBuilder
impl PartialEq for CreateNotebookInputBuilder
source§fn eq(&self, other: &CreateNotebookInputBuilder) -> bool
fn eq(&self, other: &CreateNotebookInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateNotebookInputBuilder
Auto Trait Implementations§
impl Freeze for CreateNotebookInputBuilder
impl RefUnwindSafe for CreateNotebookInputBuilder
impl Send for CreateNotebookInputBuilder
impl Sync for CreateNotebookInputBuilder
impl Unpin for CreateNotebookInputBuilder
impl UnwindSafe for CreateNotebookInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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