Interface UpdateWorkforceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkforceRequest.Builder,UpdateWorkforceRequest>,SageMakerRequest.Builder,SdkBuilder<UpdateWorkforceRequest.Builder,UpdateWorkforceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateWorkforceRequest
public static interface UpdateWorkforceRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorkforceRequest.Builder,UpdateWorkforceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.UpdateWorkforceRequest.BuilderoidcConfig(OidcConfig oidcConfig)Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.UpdateWorkforceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateWorkforceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)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.UpdateWorkforceRequest.BuildersourceIpConfig(SourceIpConfig sourceIpConfig)A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.UpdateWorkforceRequest.BuilderworkforceName(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.UpdateWorkforceRequest.BuilderworkforceVpcConfig(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
workforceName
UpdateWorkforceRequest.Builder workforceName(String 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
UpdateWorkforceRequest.Builder 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.
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:
sourceIpConfig(SourceIpConfig)
-
oidcConfig
UpdateWorkforceRequest.Builder oidcConfig(OidcConfig 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
default 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.
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:
oidcConfig(OidcConfig)
-
workforceVpcConfig
UpdateWorkforceRequest.Builder workforceVpcConfig(WorkforceVpcConfigRequest 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:
workforceVpcConfig(WorkforceVpcConfigRequest)
-
overrideConfiguration
UpdateWorkforceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateWorkforceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-