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
impl StructuralPartialEq for UpdateWorkforceInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateWorkforceInputBuilder
impl RefUnwindSafe for UpdateWorkforceInputBuilder
impl Send for UpdateWorkforceInputBuilder
impl Sync for UpdateWorkforceInputBuilder
impl Unpin for UpdateWorkforceInputBuilder
impl UnwindSafe for UpdateWorkforceInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more