Class CfnWorkforce.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnWorkforce.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkforce>
- Enclosing class:
CfnWorkforce
@Stability(Stable)
public static final class CfnWorkforce.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkforce>
A fluent builder for
CfnWorkforce.-
Method Summary
Modifier and TypeMethodDescriptionbuild()cognitoConfig(IResolvable cognitoConfig) The configuration of an Amazon Cognito workforce.cognitoConfig(CfnWorkforce.CognitoConfigProperty cognitoConfig) The configuration of an Amazon Cognito workforce.static CfnWorkforce.BuilderipAddressType(String ipAddressType) The IP address type for the workforce.oidcConfig(IResolvable oidcConfig) The configuration of an OIDC Identity Provider (IdP) private workforce.oidcConfig(CfnWorkforce.OidcConfigProperty oidcConfig) The configuration of an OIDC Identity Provider (IdP) private workforce.sourceIpConfig(IResolvable sourceIpConfig) A list of IP address ranges used to access your training data.sourceIpConfig(CfnWorkforce.SourceIpConfigProperty sourceIpConfig) A list of IP address ranges used to access your training data.An array of key-value pairs.workforceName(String workforceName) The name of the private workforce.workforceVpcConfig(IResolvable workforceVpcConfig) The VPC configuration for the workforce.workforceVpcConfig(CfnWorkforce.WorkforceVpcConfigRequestProperty workforceVpcConfig) The VPC configuration for the workforce.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkforce.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkforce.Builder.
-
workforceName
The name of the private workforce.- Parameters:
workforceName- The name of the private workforce. This parameter is required.- Returns:
this- See Also:
-
cognitoConfig
The configuration of an Amazon Cognito workforce.A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
- Parameters:
cognitoConfig- The configuration of an Amazon Cognito workforce. This parameter is required.- Returns:
this- See Also:
-
cognitoConfig
@Stability(Stable) public CfnWorkforce.Builder cognitoConfig(CfnWorkforce.CognitoConfigProperty cognitoConfig) The configuration of an Amazon Cognito workforce.A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
- Parameters:
cognitoConfig- The configuration of an Amazon Cognito workforce. This parameter is required.- Returns:
this- See Also:
-
ipAddressType
The IP address type for the workforce.IPv4 only or dualstack (IPv4 and IPv6).
- Parameters:
ipAddressType- The IP address type for the workforce. This parameter is required.- Returns:
this- See Also:
-
oidcConfig
The configuration of an OIDC Identity Provider (IdP) private workforce.- Parameters:
oidcConfig- The configuration of an OIDC Identity Provider (IdP) private workforce. This parameter is required.- Returns:
this- See Also:
-
oidcConfig
@Stability(Stable) public CfnWorkforce.Builder oidcConfig(CfnWorkforce.OidcConfigProperty oidcConfig) The configuration of an OIDC Identity Provider (IdP) private workforce.- Parameters:
oidcConfig- The configuration of an OIDC Identity Provider (IdP) private workforce. This parameter is required.- Returns:
this- See Also:
-
sourceIpConfig
A list of IP address ranges used to access your training data.- Parameters:
sourceIpConfig- A list of IP address ranges used to access your training data. This parameter is required.- Returns:
this- See Also:
-
sourceIpConfig
@Stability(Stable) public CfnWorkforce.Builder sourceIpConfig(CfnWorkforce.SourceIpConfigProperty sourceIpConfig) A list of IP address ranges used to access your training data.- Parameters:
sourceIpConfig- A list of IP address ranges used to access your training data. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs.- Parameters:
tags- An array of key-value pairs. This parameter is required.- Returns:
this- See Also:
-
workforceVpcConfig
The VPC configuration for the workforce.- Parameters:
workforceVpcConfig- The VPC configuration for the workforce. This parameter is required.- Returns:
this- See Also:
-
workforceVpcConfig
@Stability(Stable) public CfnWorkforce.Builder workforceVpcConfig(CfnWorkforce.WorkforceVpcConfigRequestProperty workforceVpcConfig) The VPC configuration for the workforce.- Parameters:
workforceVpcConfig- The VPC configuration for the workforce. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkforce>- Returns:
- a newly built instance of
CfnWorkforce.
-