Class CfnWorkteamProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnWorkteamProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkteamProps>
- Enclosing interface:
CfnWorkteamProps
@Stability(Stable)
public static final class CfnWorkteamProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkteamProps>
A builder for
CfnWorkteamProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnWorkteamProps.getDescription()
memberDefinitions
(List<? extends Object> memberDefinitions) Sets the value ofCfnWorkteamProps.getMemberDefinitions()
memberDefinitions
(IResolvable memberDefinitions) Sets the value ofCfnWorkteamProps.getMemberDefinitions()
notificationConfiguration
(IResolvable notificationConfiguration) Sets the value ofCfnWorkteamProps.getNotificationConfiguration()
notificationConfiguration
(CfnWorkteam.NotificationConfigurationProperty notificationConfiguration) Sets the value ofCfnWorkteamProps.getNotificationConfiguration()
Sets the value ofCfnWorkteamProps.getTags()
workforceName
(String workforceName) Sets the value ofCfnWorkteamProps.getWorkforceName()
workteamName
(String workteamName) Sets the value ofCfnWorkteamProps.getWorkteamName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnWorkteamProps.getDescription()
- Parameters:
description
- A description of the work team.- Returns:
this
-
memberDefinitions
Sets the value ofCfnWorkteamProps.getMemberDefinitions()
- Parameters:
memberDefinitions
- A list ofMemberDefinition
objects 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 useCognitoMemberDefinition
. For workforces created using your own OIDC identity provider (IdP) useOidcMemberDefinition
.- Returns:
this
-
memberDefinitions
@Stability(Stable) public CfnWorkteamProps.Builder memberDefinitions(List<? extends Object> memberDefinitions) Sets the value ofCfnWorkteamProps.getMemberDefinitions()
- Parameters:
memberDefinitions
- A list ofMemberDefinition
objects 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 useCognitoMemberDefinition
. For workforces created using your own OIDC identity provider (IdP) useOidcMemberDefinition
.- Returns:
this
-
notificationConfiguration
@Stability(Stable) public CfnWorkteamProps.Builder notificationConfiguration(IResolvable notificationConfiguration) Sets the value ofCfnWorkteamProps.getNotificationConfiguration()
- Parameters:
notificationConfiguration
- Configures SNS notifications of available or expiring work items for work teams.- Returns:
this
-
notificationConfiguration
@Stability(Stable) public CfnWorkteamProps.Builder notificationConfiguration(CfnWorkteam.NotificationConfigurationProperty notificationConfiguration) Sets the value ofCfnWorkteamProps.getNotificationConfiguration()
- Parameters:
notificationConfiguration
- Configures SNS notifications of available or expiring work items for work teams.- Returns:
this
-
tags
Sets the value ofCfnWorkteamProps.getTags()
- Parameters:
tags
- An array of key-value pairs.- Returns:
this
-
workforceName
Sets the value ofCfnWorkteamProps.getWorkforceName()
- Parameters:
workforceName
-AWS::SageMaker::Workteam.WorkforceName
.- Returns:
this
-
workteamName
Sets the value ofCfnWorkteamProps.getWorkteamName()
- Parameters:
workteamName
- The name of the work team.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkteamProps>
- Returns:
- a new instance of
CfnWorkteamProps
- Throws:
NullPointerException
- if any required attribute was not provided
-