Struct aws_sdk_databrew::operation::start_project_session::builders::StartProjectSessionInputBuilder
source · #[non_exhaustive]pub struct StartProjectSessionInputBuilder { /* private fields */ }
Expand description
A builder for StartProjectSessionInput
.
Implementations§
source§impl StartProjectSessionInputBuilder
impl StartProjectSessionInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the project to act upon.
This field is required.sourcepub fn assume_control(self, input: bool) -> Self
pub fn assume_control(self, input: bool) -> Self
A value that, if true, enables you to take control of a session, even if a different client is currently accessing the project.
sourcepub fn set_assume_control(self, input: Option<bool>) -> Self
pub fn set_assume_control(self, input: Option<bool>) -> Self
A value that, if true, enables you to take control of a session, even if a different client is currently accessing the project.
sourcepub fn get_assume_control(&self) -> &Option<bool>
pub fn get_assume_control(&self) -> &Option<bool>
A value that, if true, enables you to take control of a session, even if a different client is currently accessing the project.
sourcepub fn build(self) -> Result<StartProjectSessionInput, BuildError>
pub fn build(self) -> Result<StartProjectSessionInput, BuildError>
Consumes the builder and constructs a StartProjectSessionInput
.
source§impl StartProjectSessionInputBuilder
impl StartProjectSessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartProjectSessionOutput, SdkError<StartProjectSessionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartProjectSessionOutput, SdkError<StartProjectSessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartProjectSessionInputBuilder
impl Clone for StartProjectSessionInputBuilder
source§fn clone(&self) -> StartProjectSessionInputBuilder
fn clone(&self) -> StartProjectSessionInputBuilder
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 StartProjectSessionInputBuilder
impl Default for StartProjectSessionInputBuilder
source§fn default() -> StartProjectSessionInputBuilder
fn default() -> StartProjectSessionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartProjectSessionInputBuilder
impl PartialEq for StartProjectSessionInputBuilder
source§fn eq(&self, other: &StartProjectSessionInputBuilder) -> bool
fn eq(&self, other: &StartProjectSessionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartProjectSessionInputBuilder
Auto Trait Implementations§
impl Freeze for StartProjectSessionInputBuilder
impl RefUnwindSafe for StartProjectSessionInputBuilder
impl Send for StartProjectSessionInputBuilder
impl Sync for StartProjectSessionInputBuilder
impl Unpin for StartProjectSessionInputBuilder
impl UnwindSafe for StartProjectSessionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.