public static interface Workforce.Builder extends SdkPojo, CopyableBuilder<Workforce.Builder,Workforce>
| Modifier and Type | Method and Description |
|---|---|
Workforce.Builder |
cognitoConfig(CognitoConfig cognitoConfig)
The configuration of an Amazon Cognito workforce.
|
default Workforce.Builder |
cognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig)
The configuration of an Amazon Cognito workforce.
|
Workforce.Builder |
createDate(Instant createDate)
The date that the workforce is created.
|
Workforce.Builder |
failureReason(String failureReason)
The reason your workforce failed.
|
Workforce.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's
allow list.
|
default Workforce.Builder |
oidcConfig(Consumer<OidcConfigForResponse.Builder> oidcConfig)
The configuration of an OIDC Identity Provider (IdP) private workforce.
|
Workforce.Builder |
oidcConfig(OidcConfigForResponse oidcConfig)
The configuration of an OIDC Identity Provider (IdP) private workforce.
|
default Workforce.Builder |
sourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig)
A list of one to ten IP address ranges (CIDRs) to be added to the
workforce allow list.
|
Workforce.Builder |
sourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to ten IP address ranges (CIDRs) to be added to the
workforce allow list.
|
Workforce.Builder |
status(String status)
The status of your workforce.
|
Workforce.Builder |
status(WorkforceStatus status)
The status of your workforce.
|
Workforce.Builder |
subDomain(String subDomain)
The subdomain for your OIDC Identity Provider.
|
Workforce.Builder |
workforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
|
Workforce.Builder |
workforceName(String workforceName)
The name of the private workforce.
|
default Workforce.Builder |
workforceVpcConfig(Consumer<WorkforceVpcConfigResponse.Builder> workforceVpcConfig)
The configuration of a VPC workforce.
|
Workforce.Builder |
workforceVpcConfig(WorkforceVpcConfigResponse workforceVpcConfig)
The configuration of a VPC workforce.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWorkforce.Builder workforceName(String workforceName)
The name of the private workforce.
workforceName - The name of the private workforce.Workforce.Builder workforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the private workforce.
workforceArn - The Amazon Resource Name (ARN) of the private workforce.Workforce.Builder lastUpdatedDate(Instant lastUpdatedDate)
The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
lastUpdatedDate - The most recent date that was used to successfully add one or more IP address ranges (CIDRs) to a private
workforce's allow list.Workforce.Builder sourceIpConfig(SourceIpConfig sourceIpConfig)
A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.
sourceIpConfig - A list of one to ten IP address ranges (CIDRs) to be added to the
workforce allow list. By default, a workforce isn't restricted to specific IP addresses.default Workforce.Builder sourceIpConfig(Consumer<SourceIpConfig.Builder> sourceIpConfig)
A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.
This is a convenience method that creates an instance of theSourceIpConfig.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.BuildersourceIpConfig(SourceIpConfig)Workforce.Builder subDomain(String subDomain)
The subdomain for your OIDC Identity Provider.
subDomain - The subdomain for your OIDC Identity Provider.Workforce.Builder cognitoConfig(CognitoConfig cognitoConfig)
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
cognitoConfig - The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and
corresponds to a single
Amazon Cognito user pool.default Workforce.Builder cognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig)
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
This is a convenience method that creates an instance of theCognitoConfig.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.BuildercognitoConfig(CognitoConfig)Workforce.Builder oidcConfig(OidcConfigForResponse oidcConfig)
The configuration of an OIDC Identity Provider (IdP) private workforce.
oidcConfig - The configuration of an OIDC Identity Provider (IdP) private workforce.default Workforce.Builder oidcConfig(Consumer<OidcConfigForResponse.Builder> oidcConfig)
The configuration of an OIDC Identity Provider (IdP) private workforce.
This is a convenience method that creates an instance of theOidcConfigForResponse.Builder avoiding
the need to create one manually via OidcConfigForResponse.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to oidcConfig(OidcConfigForResponse).
oidcConfig - a consumer that will call methods on OidcConfigForResponse.BuilderoidcConfig(OidcConfigForResponse)Workforce.Builder createDate(Instant createDate)
The date that the workforce is created.
createDate - The date that the workforce is created.Workforce.Builder workforceVpcConfig(WorkforceVpcConfigResponse workforceVpcConfig)
The configuration of a VPC workforce.
workforceVpcConfig - The configuration of a VPC workforce.default Workforce.Builder workforceVpcConfig(Consumer<WorkforceVpcConfigResponse.Builder> workforceVpcConfig)
The configuration of a VPC workforce.
This is a convenience method that creates an instance of theWorkforceVpcConfigResponse.Builder
avoiding the need to create one manually via WorkforceVpcConfigResponse.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to workforceVpcConfig(WorkforceVpcConfigResponse).
workforceVpcConfig - a consumer that will call methods on WorkforceVpcConfigResponse.BuilderworkforceVpcConfig(WorkforceVpcConfigResponse)Workforce.Builder status(String status)
The status of your workforce.
status - The status of your workforce.WorkforceStatus,
WorkforceStatusWorkforce.Builder status(WorkforceStatus status)
The status of your workforce.
status - The status of your workforce.WorkforceStatus,
WorkforceStatusWorkforce.Builder failureReason(String failureReason)
The reason your workforce failed.
failureReason - The reason your workforce failed.Copyright © 2022. All rights reserved.