Struct aws_sdk_sagemaker::operation::create_presigned_domain_url::builders::CreatePresignedDomainUrlInputBuilder
source · #[non_exhaustive]pub struct CreatePresignedDomainUrlInputBuilder { /* private fields */ }
Expand description
A builder for CreatePresignedDomainUrlInput
.
Implementations§
source§impl CreatePresignedDomainUrlInputBuilder
impl CreatePresignedDomainUrlInputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The domain ID.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The domain ID.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The domain ID.
sourcepub fn user_profile_name(self, input: impl Into<String>) -> Self
pub fn user_profile_name(self, input: impl Into<String>) -> Self
The name of the UserProfile to sign-in as.
This field is required.sourcepub fn set_user_profile_name(self, input: Option<String>) -> Self
pub fn set_user_profile_name(self, input: Option<String>) -> Self
The name of the UserProfile to sign-in as.
sourcepub fn get_user_profile_name(&self) -> &Option<String>
pub fn get_user_profile_name(&self) -> &Option<String>
The name of the UserProfile to sign-in as.
sourcepub fn session_expiration_duration_in_seconds(self, input: i32) -> Self
pub fn session_expiration_duration_in_seconds(self, input: i32) -> Self
The session expiration duration in seconds. This value defaults to 43200.
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 session expiration duration in seconds. This value defaults to 43200.
sourcepub fn get_session_expiration_duration_in_seconds(&self) -> &Option<i32>
pub fn get_session_expiration_duration_in_seconds(&self) -> &Option<i32>
The session expiration duration in seconds. This value defaults to 43200.
sourcepub fn expires_in_seconds(self, input: i32) -> Self
pub fn expires_in_seconds(self, input: i32) -> Self
The number of seconds until the pre-signed URL expires. This value defaults to 300.
sourcepub fn set_expires_in_seconds(self, input: Option<i32>) -> Self
pub fn set_expires_in_seconds(self, input: Option<i32>) -> Self
The number of seconds until the pre-signed URL expires. This value defaults to 300.
sourcepub fn get_expires_in_seconds(&self) -> &Option<i32>
pub fn get_expires_in_seconds(&self) -> &Option<i32>
The number of seconds until the pre-signed URL expires. This value defaults to 300.
sourcepub fn space_name(self, input: impl Into<String>) -> Self
pub fn space_name(self, input: impl Into<String>) -> Self
The name of the space.
sourcepub fn set_space_name(self, input: Option<String>) -> Self
pub fn set_space_name(self, input: Option<String>) -> Self
The name of the space.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space.
sourcepub fn landing_uri(self, input: impl Into<String>) -> Self
pub fn landing_uri(self, input: impl Into<String>) -> Self
The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:
-
studio::relative/path
: Directs users to the relative path in Studio. -
app:JupyterServer:relative/path
: Directs users to the relative path in the Studio Classic application. -
app:JupyterLab:relative/path
: Directs users to the relative path in the JupyterLab application. -
app:RStudioServerPro:relative/path
: Directs users to the relative path in the RStudio application. -
app:Canvas:relative/path
: Directs users to the relative path in the Canvas application.
sourcepub fn set_landing_uri(self, input: Option<String>) -> Self
pub fn set_landing_uri(self, input: Option<String>) -> Self
The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:
-
studio::relative/path
: Directs users to the relative path in Studio. -
app:JupyterServer:relative/path
: Directs users to the relative path in the Studio Classic application. -
app:JupyterLab:relative/path
: Directs users to the relative path in the JupyterLab application. -
app:RStudioServerPro:relative/path
: Directs users to the relative path in the RStudio application. -
app:Canvas:relative/path
: Directs users to the relative path in the Canvas application.
sourcepub fn get_landing_uri(&self) -> &Option<String>
pub fn get_landing_uri(&self) -> &Option<String>
The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:
-
studio::relative/path
: Directs users to the relative path in Studio. -
app:JupyterServer:relative/path
: Directs users to the relative path in the Studio Classic application. -
app:JupyterLab:relative/path
: Directs users to the relative path in the JupyterLab application. -
app:RStudioServerPro:relative/path
: Directs users to the relative path in the RStudio application. -
app:Canvas:relative/path
: Directs users to the relative path in the Canvas application.
sourcepub fn build(self) -> Result<CreatePresignedDomainUrlInput, BuildError>
pub fn build(self) -> Result<CreatePresignedDomainUrlInput, BuildError>
Consumes the builder and constructs a CreatePresignedDomainUrlInput
.
source§impl CreatePresignedDomainUrlInputBuilder
impl CreatePresignedDomainUrlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreatePresignedDomainUrlOutput, SdkError<CreatePresignedDomainUrlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreatePresignedDomainUrlOutput, SdkError<CreatePresignedDomainUrlError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreatePresignedDomainUrlInputBuilder
impl Clone for CreatePresignedDomainUrlInputBuilder
source§fn clone(&self) -> CreatePresignedDomainUrlInputBuilder
fn clone(&self) -> CreatePresignedDomainUrlInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreatePresignedDomainUrlInputBuilder
impl Default for CreatePresignedDomainUrlInputBuilder
source§fn default() -> CreatePresignedDomainUrlInputBuilder
fn default() -> CreatePresignedDomainUrlInputBuilder
source§impl PartialEq for CreatePresignedDomainUrlInputBuilder
impl PartialEq for CreatePresignedDomainUrlInputBuilder
source§fn eq(&self, other: &CreatePresignedDomainUrlInputBuilder) -> bool
fn eq(&self, other: &CreatePresignedDomainUrlInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.