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