Struct aws_sdk_sagemaker::operation::describe_workforce::builders::DescribeWorkforceFluentBuilder
source · pub struct DescribeWorkforceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeWorkforce
.
Lists private workforce information, including workforce name, Amazon Resource Name (ARN), and, if applicable, allowed IP address ranges (CIDRs). Allowable IP address ranges are the IP addresses that workers can use to access tasks.
This operation applies only to private workforces.
Implementations§
source§impl DescribeWorkforceFluentBuilder
impl DescribeWorkforceFluentBuilder
sourcepub fn as_input(&self) -> &DescribeWorkforceInputBuilder
pub fn as_input(&self) -> &DescribeWorkforceInputBuilder
Access the DescribeWorkforce as a reference.
sourcepub async fn send(
self
) -> Result<DescribeWorkforceOutput, SdkError<DescribeWorkforceError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeWorkforceOutput, SdkError<DescribeWorkforceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeWorkforceOutput, DescribeWorkforceError>, SdkError<DescribeWorkforceError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeWorkforceOutput, DescribeWorkforceError>, SdkError<DescribeWorkforceError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_workforce_name(&self) -> &Option<String>
pub fn get_workforce_name(&self) -> &Option<String>
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.
Trait Implementations§
source§impl Clone for DescribeWorkforceFluentBuilder
impl Clone for DescribeWorkforceFluentBuilder
source§fn clone(&self) -> DescribeWorkforceFluentBuilder
fn clone(&self) -> DescribeWorkforceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more