Interface UpdateWorkforceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkforceRequest.Builder,,UpdateWorkforceRequest> SageMakerRequest.Builder,SdkBuilder<UpdateWorkforceRequest.Builder,,UpdateWorkforceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateWorkforceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkforceRequest.BuilderoidcConfig(Consumer<OidcConfig.Builder> oidcConfig) Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.oidcConfig(OidcConfig oidcConfig) Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateWorkforceRequest.BuildersourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig) A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.sourceIpConfig(SourceIpConfig sourceIpConfig) A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.workforceName(String workforceName) The name of the private workforce that you want to update.default UpdateWorkforceRequest.BuilderworkforceVpcConfig(Consumer<WorkforceVpcConfigRequest.Builder> workforceVpcConfig) Use this parameter to update your VPC configuration for a workforce.workforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig) Use this parameter to update your VPC configuration for a workforce.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
workforceName
The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces operation.
- Parameters:
workforceName- The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIpConfig
default UpdateWorkforceRequest.Builder sourceIpConfig(Consumer<SourceIpConfig.Builder> 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
This is a convenience method that creates an instance of theSourceIpConfig.Builderavoiding the need to create one manually viaSourceIpConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceIpConfig(SourceIpConfig).- Parameters:
sourceIpConfig- a consumer that will call methods onSourceIpConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oidcConfig
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
- Parameters:
oidcConfig- Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oidcConfig
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
This is a convenience method that creates an instance of theOidcConfig.Builderavoiding the need to create one manually viaOidcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooidcConfig(OidcConfig).- Parameters:
oidcConfig- a consumer that will call methods onOidcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workforceVpcConfig
Use this parameter to update your VPC configuration for a workforce.
- Parameters:
workforceVpcConfig- Use this parameter to update your VPC configuration for a workforce.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workforceVpcConfig
default UpdateWorkforceRequest.Builder workforceVpcConfig(Consumer<WorkforceVpcConfigRequest.Builder> workforceVpcConfig) Use this parameter to update your VPC configuration for a workforce.
This is a convenience method that creates an instance of theWorkforceVpcConfigRequest.Builderavoiding the need to create one manually viaWorkforceVpcConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkforceVpcConfig(WorkforceVpcConfigRequest).- Parameters:
workforceVpcConfig- a consumer that will call methods onWorkforceVpcConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateWorkforceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateWorkforceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-