Class CfnWorkforcePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnWorkforcePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkforcePropsMixin>
- Enclosing class:
CfnWorkforcePropsMixin
@Stability(Stable)
public static final class CfnWorkforcePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkforcePropsMixin>
A fluent builder for
CfnWorkforcePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()cognitoConfig(CfnWorkforcePropsMixin.CognitoConfigProperty cognitoConfig) The configuration of an Amazon Cognito workforce.cognitoConfig(IResolvable cognitoConfig) The configuration of an Amazon Cognito workforce.create()create(CfnPropertyMixinOptions options) ipAddressType(String ipAddressType) The IP address type for the workforce.oidcConfig(CfnWorkforcePropsMixin.OidcConfigProperty oidcConfig) The configuration of an OIDC Identity Provider (IdP) private workforce.oidcConfig(IResolvable oidcConfig) The configuration of an OIDC Identity Provider (IdP) private workforce.sourceIpConfig(CfnWorkforcePropsMixin.SourceIpConfigProperty sourceIpConfig) A list of IP address ranges used to access your training data.sourceIpConfig(IResolvable 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(CfnWorkforcePropsMixin.WorkforceVpcConfigRequestProperty workforceVpcConfig) The VPC configuration for the workforce.workforceVpcConfig(IResolvable workforceVpcConfig) The VPC configuration for the workforce.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkforcePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnWorkforcePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnWorkforcePropsMixin.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.
- Parameters:
cognitoConfig- The configuration of an Amazon Cognito workforce. This parameter is required.- Returns:
this- See Also:
-
cognitoConfig
@Stability(Stable) public CfnWorkforcePropsMixin.Builder cognitoConfig(CfnWorkforcePropsMixin.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 CfnWorkforcePropsMixin.Builder oidcConfig(CfnWorkforcePropsMixin.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 CfnWorkforcePropsMixin.Builder sourceIpConfig(CfnWorkforcePropsMixin.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:
-
workforceName
The name of the private workforce.- Parameters:
workforceName- The name of the private workforce. This parameter is required.- Returns:
this- See Also:
-
workforceVpcConfig
@Stability(Stable) public CfnWorkforcePropsMixin.Builder workforceVpcConfig(IResolvable 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 CfnWorkforcePropsMixin.Builder workforceVpcConfig(CfnWorkforcePropsMixin.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<CfnWorkforcePropsMixin>- Returns:
- a newly built instance of
CfnWorkforcePropsMixin.
-