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.Builder
oidcConfig
(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.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.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.Builder
workforceVpcConfig
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaSourceIpConfig.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaOidcConfig.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaWorkforceVpcConfigRequest.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-