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 |
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 |
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.
|
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 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 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 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.Copyright © 2021. All rights reserved.