Struct aws_sdk_sagemaker::operation::create_presigned_notebook_instance_url::builders::CreatePresignedNotebookInstanceUrlInputBuilder
source · #[non_exhaustive]pub struct CreatePresignedNotebookInstanceUrlInputBuilder { /* private fields */ }
Expand description
A builder for CreatePresignedNotebookInstanceUrlInput
.
Implementations§
source§impl CreatePresignedNotebookInstanceUrlInputBuilder
impl CreatePresignedNotebookInstanceUrlInputBuilder
sourcepub fn notebook_instance_name(self, input: impl Into<String>) -> Self
pub fn notebook_instance_name(self, input: impl Into<String>) -> Self
The name of the notebook instance.
sourcepub fn set_notebook_instance_name(self, input: Option<String>) -> Self
pub fn set_notebook_instance_name(self, input: Option<String>) -> Self
The name of the notebook instance.
sourcepub fn session_expiration_duration_in_seconds(self, input: i32) -> Self
pub fn session_expiration_duration_in_seconds(self, input: i32) -> Self
The duration of the session, in seconds. The default is 12 hours.
sourcepub fn set_session_expiration_duration_in_seconds(
self,
input: Option<i32>
) -> Self
pub fn set_session_expiration_duration_in_seconds( self, input: Option<i32> ) -> Self
The duration of the session, in seconds. The default is 12 hours.
sourcepub fn build(
self
) -> Result<CreatePresignedNotebookInstanceUrlInput, BuildError>
pub fn build( self ) -> Result<CreatePresignedNotebookInstanceUrlInput, BuildError>
Consumes the builder and constructs a CreatePresignedNotebookInstanceUrlInput
.
Trait Implementations§
source§impl Clone for CreatePresignedNotebookInstanceUrlInputBuilder
impl Clone for CreatePresignedNotebookInstanceUrlInputBuilder
source§fn clone(&self) -> CreatePresignedNotebookInstanceUrlInputBuilder
fn clone(&self) -> CreatePresignedNotebookInstanceUrlInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreatePresignedNotebookInstanceUrlInputBuilder
impl Default for CreatePresignedNotebookInstanceUrlInputBuilder
source§fn default() -> CreatePresignedNotebookInstanceUrlInputBuilder
fn default() -> CreatePresignedNotebookInstanceUrlInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreatePresignedNotebookInstanceUrlInputBuilder> for CreatePresignedNotebookInstanceUrlInputBuilder
impl PartialEq<CreatePresignedNotebookInstanceUrlInputBuilder> for CreatePresignedNotebookInstanceUrlInputBuilder
source§fn eq(&self, other: &CreatePresignedNotebookInstanceUrlInputBuilder) -> bool
fn eq(&self, other: &CreatePresignedNotebookInstanceUrlInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.