Struct aws_sdk_sagemaker::input::describe_workforce_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeWorkforceInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn workforce_name(self, input: impl Into<String>) -> Self
pub fn workforce_name(self, input: impl Into<String>) -> Self
The name of the private workforce whose access you want to restrict. WorkforceName
is automatically set to default
when a workforce is created and cannot be modified.
sourcepub fn set_workforce_name(self, input: Option<String>) -> Self
pub fn set_workforce_name(self, input: Option<String>) -> Self
The name of the private workforce whose access you want to restrict. WorkforceName
is automatically set to default
when a workforce is created and cannot be modified.
sourcepub fn build(self) -> Result<DescribeWorkforceInput, BuildError>
pub fn build(self) -> Result<DescribeWorkforceInput, BuildError>
Consumes the builder and constructs a DescribeWorkforceInput
.