public static final class CfnWorkteamProps.Builder
extends java.lang.Object
CfnWorkteamProps
Constructor and Description |
---|
Builder() |
public CfnWorkteamProps.Builder description(java.lang.String description)
CfnWorkteamProps.getDescription()
description
- A description of the work team.this
public CfnWorkteamProps.Builder memberDefinitions(IResolvable memberDefinitions)
CfnWorkteamProps.getMemberDefinitions()
memberDefinitions
- A list of `MemberDefinition` 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 use CognitoMemberDefinition
. For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition
.this
public CfnWorkteamProps.Builder memberDefinitions(java.util.List<? extends java.lang.Object> memberDefinitions)
CfnWorkteamProps.getMemberDefinitions()
memberDefinitions
- A list of `MemberDefinition` 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 use CognitoMemberDefinition
. For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition
.this
public CfnWorkteamProps.Builder notificationConfiguration(IResolvable notificationConfiguration)
CfnWorkteamProps.getNotificationConfiguration()
notificationConfiguration
- Configures SNS notifications of available or expiring work items for work teams.this
public CfnWorkteamProps.Builder notificationConfiguration(CfnWorkteam.NotificationConfigurationProperty notificationConfiguration)
CfnWorkteamProps.getNotificationConfiguration()
notificationConfiguration
- Configures SNS notifications of available or expiring work items for work teams.this
public CfnWorkteamProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnWorkteamProps.getTags()
tags
- An array of key-value pairs.this
public CfnWorkteamProps.Builder workforceName(java.lang.String workforceName)
CfnWorkteamProps.getWorkforceName()
workforceName
- `AWS::SageMaker::Workteam.WorkforceName`.this
public CfnWorkteamProps.Builder workteamName(java.lang.String workteamName)
CfnWorkteamProps.getWorkteamName()
workteamName
- The name of the work team.this
public CfnWorkteamProps build()
CfnWorkteamProps
java.lang.NullPointerException
- if any required attribute was not provided