Struct aws_sdk_sagemaker::operation::update_workforce::builders::UpdateWorkforceOutputBuilder
source · #[non_exhaustive]pub struct UpdateWorkforceOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateWorkforceOutput
.
Implementations§
source§impl UpdateWorkforceOutputBuilder
impl UpdateWorkforceOutputBuilder
sourcepub fn workforce(self, input: Workforce) -> Self
pub fn workforce(self, input: Workforce) -> Self
A single private workforce. You can create one private work force in each Amazon Web Services Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.
This field is required.sourcepub fn set_workforce(self, input: Option<Workforce>) -> Self
pub fn set_workforce(self, input: Option<Workforce>) -> Self
A single private workforce. You can create one private work force in each Amazon Web Services Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.
sourcepub fn get_workforce(&self) -> &Option<Workforce>
pub fn get_workforce(&self) -> &Option<Workforce>
A single private workforce. You can create one private work force in each Amazon Web Services Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.
sourcepub fn build(self) -> UpdateWorkforceOutput
pub fn build(self) -> UpdateWorkforceOutput
Consumes the builder and constructs a UpdateWorkforceOutput
.
Trait Implementations§
source§impl Clone for UpdateWorkforceOutputBuilder
impl Clone for UpdateWorkforceOutputBuilder
source§fn clone(&self) -> UpdateWorkforceOutputBuilder
fn clone(&self) -> UpdateWorkforceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateWorkforceOutputBuilder
impl Debug for UpdateWorkforceOutputBuilder
source§impl Default for UpdateWorkforceOutputBuilder
impl Default for UpdateWorkforceOutputBuilder
source§fn default() -> UpdateWorkforceOutputBuilder
fn default() -> UpdateWorkforceOutputBuilder
source§impl PartialEq for UpdateWorkforceOutputBuilder
impl PartialEq for UpdateWorkforceOutputBuilder
source§fn eq(&self, other: &UpdateWorkforceOutputBuilder) -> bool
fn eq(&self, other: &UpdateWorkforceOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateWorkforceOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateWorkforceOutputBuilder
impl RefUnwindSafe for UpdateWorkforceOutputBuilder
impl Send for UpdateWorkforceOutputBuilder
impl Sync for UpdateWorkforceOutputBuilder
impl Unpin for UpdateWorkforceOutputBuilder
impl UnwindSafe for UpdateWorkforceOutputBuilder
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