Struct aws_sdk_sagemaker::operation::describe_workforce::builders::DescribeWorkforceOutputBuilder
source · #[non_exhaustive]pub struct DescribeWorkforceOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeWorkforceOutput
.
Implementations§
source§impl DescribeWorkforceOutputBuilder
impl DescribeWorkforceOutputBuilder
sourcepub fn workforce(self, input: Workforce) -> Self
pub fn workforce(self, input: Workforce) -> Self
A single private workforce, which is automatically created when you create your first private work team. 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, which is automatically created when you create your first private work team. 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, which is automatically created when you create your first private work team. 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) -> DescribeWorkforceOutput
pub fn build(self) -> DescribeWorkforceOutput
Consumes the builder and constructs a DescribeWorkforceOutput
.
Trait Implementations§
source§impl Clone for DescribeWorkforceOutputBuilder
impl Clone for DescribeWorkforceOutputBuilder
source§fn clone(&self) -> DescribeWorkforceOutputBuilder
fn clone(&self) -> DescribeWorkforceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeWorkforceOutputBuilder
impl Default for DescribeWorkforceOutputBuilder
source§fn default() -> DescribeWorkforceOutputBuilder
fn default() -> DescribeWorkforceOutputBuilder
source§impl PartialEq for DescribeWorkforceOutputBuilder
impl PartialEq for DescribeWorkforceOutputBuilder
source§fn eq(&self, other: &DescribeWorkforceOutputBuilder) -> bool
fn eq(&self, other: &DescribeWorkforceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.