pub struct Builder { /* private fields */ }
Expand description
A builder for CreatePresignedDomainUrlInput
.
Implementations§
source§impl Builder
impl Builder
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 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.
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 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 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 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 build(self) -> Result<CreatePresignedDomainUrlInput, BuildError>
pub fn build(self) -> Result<CreatePresignedDomainUrlInput, BuildError>
Consumes the builder and constructs a CreatePresignedDomainUrlInput
.