Struct aws_sdk_sagemaker::model::workforce::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Workforce
.
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.
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.
sourcepub fn workforce_arn(self, input: impl Into<String>) -> Self
pub fn workforce_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the private workforce.
sourcepub fn set_workforce_arn(self, input: Option<String>) -> Self
pub fn set_workforce_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the private workforce.
sourcepub fn last_updated_date(self, input: DateTime) -> Self
pub fn last_updated_date(self, input: DateTime) -> Self
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
sourcepub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
sourcepub fn source_ip_config(self, input: SourceIpConfig) -> Self
pub fn source_ip_config(self, input: SourceIpConfig) -> Self
A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.
sourcepub fn set_source_ip_config(self, input: Option<SourceIpConfig>) -> Self
pub fn set_source_ip_config(self, input: Option<SourceIpConfig>) -> Self
A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.
sourcepub fn sub_domain(self, input: impl Into<String>) -> Self
pub fn sub_domain(self, input: impl Into<String>) -> Self
The subdomain for your OIDC Identity Provider.
sourcepub fn set_sub_domain(self, input: Option<String>) -> Self
pub fn set_sub_domain(self, input: Option<String>) -> Self
The subdomain for your OIDC Identity Provider.
sourcepub fn cognito_config(self, input: CognitoConfig) -> Self
pub fn cognito_config(self, input: CognitoConfig) -> Self
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
sourcepub fn set_cognito_config(self, input: Option<CognitoConfig>) -> Self
pub fn set_cognito_config(self, input: Option<CognitoConfig>) -> Self
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
sourcepub fn oidc_config(self, input: OidcConfigForResponse) -> Self
pub fn oidc_config(self, input: OidcConfigForResponse) -> Self
The configuration of an OIDC Identity Provider (IdP) private workforce.
sourcepub fn set_oidc_config(self, input: Option<OidcConfigForResponse>) -> Self
pub fn set_oidc_config(self, input: Option<OidcConfigForResponse>) -> Self
The configuration of an OIDC Identity Provider (IdP) private workforce.
sourcepub fn create_date(self, input: DateTime) -> Self
pub fn create_date(self, input: DateTime) -> Self
The date that the workforce is created.
sourcepub fn set_create_date(self, input: Option<DateTime>) -> Self
pub fn set_create_date(self, input: Option<DateTime>) -> Self
The date that the workforce is created.
sourcepub fn workforce_vpc_config(self, input: WorkforceVpcConfigResponse) -> Self
pub fn workforce_vpc_config(self, input: WorkforceVpcConfigResponse) -> Self
The configuration of a VPC workforce.
sourcepub fn set_workforce_vpc_config(
self,
input: Option<WorkforceVpcConfigResponse>
) -> Self
pub fn set_workforce_vpc_config(
self,
input: Option<WorkforceVpcConfigResponse>
) -> Self
The configuration of a VPC workforce.
sourcepub fn status(self, input: WorkforceStatus) -> Self
pub fn status(self, input: WorkforceStatus) -> Self
The status of your workforce.
sourcepub fn set_status(self, input: Option<WorkforceStatus>) -> Self
pub fn set_status(self, input: Option<WorkforceStatus>) -> Self
The status of your workforce.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The reason your workforce failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The reason your workforce failed.