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 ListWorkforces operation.
This field is required.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 ListWorkforces operation.
sourcepub fn get_workforce_name(&self) -> &Option<String>
pub fn get_workforce_name(&self) -> &Option<String>
The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces 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 get_source_ip_config(&self) -> &Option<SourceIpConfig>
pub fn get_source_ip_config(&self) -> &Option<SourceIpConfig>
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 get_oidc_config(&self) -> &Option<OidcConfig>
pub fn get_oidc_config(&self) -> &Option<OidcConfig>
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 get_workforce_vpc_config(&self) -> &Option<WorkforceVpcConfigRequest>
pub fn get_workforce_vpc_config(&self) -> &Option<WorkforceVpcConfigRequest>
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
.
source§impl UpdateWorkforceInputBuilder
impl UpdateWorkforceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateWorkforceOutput, SdkError<UpdateWorkforceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateWorkforceOutput, SdkError<UpdateWorkforceError, HttpResponse>>
Sends a request with this input using the given client.
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 for UpdateWorkforceInputBuilder
impl PartialEq 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 ==
.