Struct aws_sdk_sagemaker::operation::update_workforce::builders::UpdateWorkforceInputBuilder
source · #[non_exhaustive]pub struct UpdateWorkforceInputBuilder { /* private fields */ }
Expand description
A builder for UpdateWorkforceInput
.
Implementations§
source§impl UpdateWorkforceInputBuilder
impl UpdateWorkforceInputBuilder
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
.
Trait Implementations§
source§impl Clone for UpdateWorkforceInputBuilder
impl Clone for UpdateWorkforceInputBuilder
source§fn clone(&self) -> UpdateWorkforceInputBuilder
fn clone(&self) -> UpdateWorkforceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateWorkforceInputBuilder
impl Debug for UpdateWorkforceInputBuilder
source§impl Default for UpdateWorkforceInputBuilder
impl Default for UpdateWorkforceInputBuilder
source§fn default() -> UpdateWorkforceInputBuilder
fn default() -> UpdateWorkforceInputBuilder
source§impl PartialEq<UpdateWorkforceInputBuilder> for UpdateWorkforceInputBuilder
impl PartialEq<UpdateWorkforceInputBuilder> for UpdateWorkforceInputBuilder
source§fn eq(&self, other: &UpdateWorkforceInputBuilder) -> bool
fn eq(&self, other: &UpdateWorkforceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.