Class CfnWorkteamPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnWorkteamPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkteamPropsMixin>
- Enclosing class:
CfnWorkteamPropsMixin
@Stability(Stable)
public static final class CfnWorkteamPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkteamPropsMixin>
A fluent builder for
CfnWorkteamPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) A description of the work team.memberDefinitions(List<? extends Object> memberDefinitions) A list ofMemberDefinitionobjects that contains objects that identify the workers that make up the work team.memberDefinitions(IResolvable memberDefinitions) A list ofMemberDefinitionobjects that contains objects that identify the workers that make up the work team.notificationConfiguration(CfnWorkteamPropsMixin.NotificationConfigurationProperty notificationConfiguration) Configures SNS notifications of available or expiring work items for work teams.notificationConfiguration(IResolvable notificationConfiguration) Configures SNS notifications of available or expiring work items for work teams.An array of key-value pairs.workforceName(String workforceName) The name of the workforce.workteamName(String workteamName) The name of the work team.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkteamPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnWorkteamPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnWorkteamPropsMixin.Builder.
-
description
A description of the work team.- Parameters:
description- A description of the work team. This parameter is required.- Returns:
this- See Also:
-
memberDefinitions
@Stability(Stable) public CfnWorkteamPropsMixin.Builder memberDefinitions(IResolvable memberDefinitions) A list ofMemberDefinitionobjects that contains objects that identify the workers that make up the work team.Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For private workforces created using Amazon Cognito use
CognitoMemberDefinition. For workforces created using your own OIDC identity provider (IdP) useOidcMemberDefinition.- Parameters:
memberDefinitions- A list ofMemberDefinitionobjects that contains objects that identify the workers that make up the work team. This parameter is required.- Returns:
this- See Also:
-
memberDefinitions
@Stability(Stable) public CfnWorkteamPropsMixin.Builder memberDefinitions(List<? extends Object> memberDefinitions) A list ofMemberDefinitionobjects that contains objects that identify the workers that make up the work team.Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For private workforces created using Amazon Cognito use
CognitoMemberDefinition. For workforces created using your own OIDC identity provider (IdP) useOidcMemberDefinition.- Parameters:
memberDefinitions- A list ofMemberDefinitionobjects that contains objects that identify the workers that make up the work team. This parameter is required.- Returns:
this- See Also:
-
notificationConfiguration
@Stability(Stable) public CfnWorkteamPropsMixin.Builder notificationConfiguration(IResolvable notificationConfiguration) Configures SNS notifications of available or expiring work items for work teams.- Parameters:
notificationConfiguration- Configures SNS notifications of available or expiring work items for work teams. This parameter is required.- Returns:
this- See Also:
-
notificationConfiguration
@Stability(Stable) public CfnWorkteamPropsMixin.Builder notificationConfiguration(CfnWorkteamPropsMixin.NotificationConfigurationProperty notificationConfiguration) Configures SNS notifications of available or expiring work items for work teams.- Parameters:
notificationConfiguration- Configures SNS notifications of available or expiring work items for work teams. 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 workforce.- Parameters:
workforceName- The name of the workforce. This parameter is required.- Returns:
this- See Also:
-
workteamName
The name of the work team.- Parameters:
workteamName- The name of the work team. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkteamPropsMixin>- Returns:
- a newly built instance of
CfnWorkteamPropsMixin.
-