Struct aws_sdk_sagemaker::input::update_workforce_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateWorkforceInput
.
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 that you want to update. You can find your workforce name by using the operation.
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 that you want to update. You can find your workforce name by using the operation.
sourcepub fn source_ip_config(self, input: SourceIpConfig) -> Self
pub fn source_ip_config(self, input: SourceIpConfig) -> Self
A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Ten CIDR values
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 worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Ten CIDR values
sourcepub fn oidc_config(self, input: OidcConfig) -> Self
pub fn oidc_config(self, input: OidcConfig) -> Self
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
sourcepub fn set_oidc_config(self, input: Option<OidcConfig>) -> Self
pub fn set_oidc_config(self, input: Option<OidcConfig>) -> Self
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
sourcepub fn workforce_vpc_config(self, input: WorkforceVpcConfigRequest) -> Self
pub fn workforce_vpc_config(self, input: WorkforceVpcConfigRequest) -> Self
Use this parameter to update your VPC configuration for a workforce.
sourcepub fn set_workforce_vpc_config(
self,
input: Option<WorkforceVpcConfigRequest>
) -> Self
pub fn set_workforce_vpc_config(
self,
input: Option<WorkforceVpcConfigRequest>
) -> Self
Use this parameter to update your VPC configuration for a workforce.
sourcepub fn build(self) -> Result<UpdateWorkforceInput, BuildError>
pub fn build(self) -> Result<UpdateWorkforceInput, BuildError>
Consumes the builder and constructs a UpdateWorkforceInput
.