public static interface CreateWorkforceRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkforceRequest.Builder,CreateWorkforceRequest>
Modifier and Type | Method and Description |
---|---|
CreateWorkforceRequest.Builder |
cognitoConfig(CognitoConfig cognitoConfig)
Use this parameter to configure an Amazon Cognito private workforce.
|
default CreateWorkforceRequest.Builder |
cognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig)
Use this parameter to configure an Amazon Cognito private workforce.
|
default CreateWorkforceRequest.Builder |
oidcConfig(Consumer<OidcConfig.Builder> oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
|
CreateWorkforceRequest.Builder |
oidcConfig(OidcConfig oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
|
CreateWorkforceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateWorkforceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateWorkforceRequest.Builder |
sourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig)
Sets the value of the SourceIpConfig property for this object.
|
CreateWorkforceRequest.Builder |
sourceIpConfig(SourceIpConfig sourceIpConfig)
Sets the value of the SourceIpConfig property for this object.
|
CreateWorkforceRequest.Builder |
tags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce.
|
CreateWorkforceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce.
|
CreateWorkforceRequest.Builder |
tags(Tag... tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce.
|
CreateWorkforceRequest.Builder |
workforceName(String workforceName)
The name of the private workforce.
|
default CreateWorkforceRequest.Builder |
workforceVpcConfig(Consumer<WorkforceVpcConfigRequest.Builder> workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
|
CreateWorkforceRequest.Builder |
workforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
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 OidcConfig
if you specify values for 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 OidcConfig
if you specify values for 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 OidcConfig
if you specify values for CognitoConfig
.
CognitoConfig.Builder
avoiding the need
to create one manually via CognitoConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to cognitoConfig(CognitoConfig)
.
cognitoConfig
- a consumer that will call methods on CognitoConfig.Builder
cognitoConfig(CognitoConfig)
CreateWorkforceRequest.Builder oidcConfig(OidcConfig oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig
if you specify values for OidcConfig
.
oidcConfig
- Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig
if you specify values for 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 CognitoConfig
if you specify values for OidcConfig
.
OidcConfig.Builder
avoiding the need to
create one manually via OidcConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to oidcConfig(OidcConfig)
.
oidcConfig
- a consumer that will call methods on OidcConfig.Builder
oidcConfig(OidcConfig)
CreateWorkforceRequest.Builder sourceIpConfig(SourceIpConfig sourceIpConfig)
sourceIpConfig
- The new value for the SourceIpConfig property for this object.default CreateWorkforceRequest.Builder sourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig)
SourceIpConfig.Builder
avoiding the need
to create one manually via SourceIpConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to sourceIpConfig(SourceIpConfig)
.
sourceIpConfig
- a consumer that will call methods on SourceIpConfig.Builder
sourceIpConfig(SourceIpConfig)
CreateWorkforceRequest.Builder workforceName(String workforceName)
The name of the private workforce.
workforceName
- The name of the private workforce.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.
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.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.
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.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.Builder
avoiding the need to create one manually
via Tag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #tags(List
.
tags
- a consumer that will call methods on
Tag.Builder
#tags(java.util.Collection)
CreateWorkforceRequest.Builder workforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
workforceVpcConfig
- Use this parameter to configure a workforce using VPC.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.Builder
avoiding the need to create one manually via WorkforceVpcConfigRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to workforceVpcConfig(WorkforceVpcConfigRequest)
.
workforceVpcConfig
- a consumer that will call methods on WorkforceVpcConfigRequest.Builder
workforceVpcConfig(WorkforceVpcConfigRequest)
CreateWorkforceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateWorkforceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.