Interface CreateWorkforceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkforceRequest.Builder,CreateWorkforceRequest>,SageMakerRequest.Builder,SdkBuilder<CreateWorkforceRequest.Builder,CreateWorkforceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateWorkforceRequest
public static interface CreateWorkforceRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkforceRequest.Builder,CreateWorkforceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateWorkforceRequest.BuildercognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig)Use this parameter to configure an Amazon Cognito private workforce.CreateWorkforceRequest.BuildercognitoConfig(CognitoConfig cognitoConfig)Use this parameter to configure an Amazon Cognito private workforce.default CreateWorkforceRequest.BuilderoidcConfig(Consumer<OidcConfig.Builder> oidcConfig)Use this parameter to configure a private workforce using your own OIDC Identity Provider.CreateWorkforceRequest.BuilderoidcConfig(OidcConfig oidcConfig)Use this parameter to configure a private workforce using your own OIDC Identity Provider.CreateWorkforceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWorkforceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateWorkforceRequest.BuildersourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig)Sets the value of the SourceIpConfig property for this object.CreateWorkforceRequest.BuildersourceIpConfig(SourceIpConfig sourceIpConfig)Sets the value of the SourceIpConfig property for this object.CreateWorkforceRequest.Buildertags(Collection<Tag> tags)An array of key-value pairs that contain metadata to help you categorize and organize our workforce.CreateWorkforceRequest.Buildertags(Consumer<Tag.Builder>... tags)An array of key-value pairs that contain metadata to help you categorize and organize our workforce.CreateWorkforceRequest.Buildertags(Tag... tags)An array of key-value pairs that contain metadata to help you categorize and organize our workforce.CreateWorkforceRequest.BuilderworkforceName(String workforceName)The name of the private workforce.default CreateWorkforceRequest.BuilderworkforceVpcConfig(Consumer<WorkforceVpcConfigRequest.Builder> workforceVpcConfig)Use this parameter to configure a workforce using VPC.CreateWorkforceRequest.BuilderworkforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig)Use this parameter to configure a workforce using VPC.-
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
-
cognitoConfig
CreateWorkforceRequest.Builder cognitoConfig(CognitoConfig cognitoConfig)
Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
Do not use
OidcConfigif you specify values forCognitoConfig.- Parameters:
cognitoConfig- Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.Do not use
OidcConfigif you specify values forCognitoConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoConfig
default CreateWorkforceRequest.Builder cognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig)
Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
Do not use
This is a convenience method that creates an instance of theOidcConfigif you specify values forCognitoConfig.CognitoConfig.Builderavoiding the need to create one manually viaCognitoConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocognitoConfig(CognitoConfig).- Parameters:
cognitoConfig- a consumer that will call methods onCognitoConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cognitoConfig(CognitoConfig)
-
oidcConfig
CreateWorkforceRequest.Builder oidcConfig(OidcConfig oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use
CognitoConfigif you specify values forOidcConfig.- Parameters:
oidcConfig- Use this parameter to configure a private workforce using your own OIDC Identity Provider.Do not use
CognitoConfigif you specify values forOidcConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oidcConfig
default CreateWorkforceRequest.Builder oidcConfig(Consumer<OidcConfig.Builder> oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use
This is a convenience method that creates an instance of theCognitoConfigif you specify values forOidcConfig.OidcConfig.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)
-
sourceIpConfig
CreateWorkforceRequest.Builder sourceIpConfig(SourceIpConfig sourceIpConfig)
Sets the value of the SourceIpConfig property for this object.- Parameters:
sourceIpConfig- The new value for the SourceIpConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIpConfig
default CreateWorkforceRequest.Builder sourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig)
Sets the value of the SourceIpConfig property for this object. 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)
-
workforceName
CreateWorkforceRequest.Builder workforceName(String workforceName)
The name of the private workforce.
- Parameters:
workforceName- The name of the private workforce.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWorkforceRequest.Builder tags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
- Parameters:
tags- An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWorkforceRequest.Builder tags(Tag... tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
- Parameters:
tags- An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWorkforceRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
workforceVpcConfig
CreateWorkforceRequest.Builder workforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
- Parameters:
workforceVpcConfig- Use this parameter to configure a workforce using VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workforceVpcConfig
default CreateWorkforceRequest.Builder workforceVpcConfig(Consumer<WorkforceVpcConfigRequest.Builder> workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
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
CreateWorkforceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorkforceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-