public static final class CfnWorkteam.Builder
extends java.lang.Object
CfnWorkteam
.Modifier and Type | Method and Description |
---|---|
CfnWorkteam |
build() |
static CfnWorkteam.Builder |
create(Construct scope,
java.lang.String id) |
CfnWorkteam.Builder |
description(java.lang.String description)
A description of the work team.
|
CfnWorkteam.Builder |
memberDefinitions(IResolvable memberDefinitions)
A list of `MemberDefinition` objects that contains objects that identify the workers that make up the work team.
|
CfnWorkteam.Builder |
memberDefinitions(java.util.List<? extends java.lang.Object> memberDefinitions)
A list of `MemberDefinition` objects that contains objects that identify the workers that make up the work team.
|
CfnWorkteam.Builder |
notificationConfiguration(CfnWorkteam.NotificationConfigurationProperty notificationConfiguration)
Configures SNS notifications of available or expiring work items for work teams.
|
CfnWorkteam.Builder |
notificationConfiguration(IResolvable notificationConfiguration)
Configures SNS notifications of available or expiring work items for work teams.
|
CfnWorkteam.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs.
|
CfnWorkteam.Builder |
workteamName(java.lang.String workteamName)
The name of the work team.
|
public static CfnWorkteam.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnWorkteam.CognitoMemberDefinitionProperty.Builder
.public CfnWorkteam.Builder description(java.lang.String description)
description
- A description of the work team. This parameter is required.this
public CfnWorkteam.Builder memberDefinitions(IResolvable memberDefinitions)
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
.
memberDefinitions
- A list of `MemberDefinition` objects that contains objects that identify the workers that make up the work team. This parameter is required.this
public CfnWorkteam.Builder memberDefinitions(java.util.List<? extends java.lang.Object> memberDefinitions)
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
.
memberDefinitions
- A list of `MemberDefinition` objects that contains objects that identify the workers that make up the work team. This parameter is required.this
public CfnWorkteam.Builder notificationConfiguration(IResolvable notificationConfiguration)
notificationConfiguration
- Configures SNS notifications of available or expiring work items for work teams. This parameter is required.this
public CfnWorkteam.Builder notificationConfiguration(CfnWorkteam.NotificationConfigurationProperty notificationConfiguration)
notificationConfiguration
- Configures SNS notifications of available or expiring work items for work teams. This parameter is required.this
public CfnWorkteam.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- An array of key-value pairs. This parameter is required.this
public CfnWorkteam.Builder workteamName(java.lang.String workteamName)
workteamName
- The name of the work team. This parameter is required.this
public CfnWorkteam build()