Interface Workteam.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Workteam.Builder,
,Workteam> SdkBuilder<Workteam.Builder,
,Workteam> SdkPojo
- Enclosing class:
Workteam
-
Method Summary
Modifier and TypeMethodDescriptioncreateDate
(Instant createDate) The date and time that the work team was created (timestamp).description
(String description) A description of the work team.lastUpdatedDate
(Instant lastUpdatedDate) The date and time that the work team was last updated (timestamp).memberDefinitions
(Collection<MemberDefinition> memberDefinitions) A list ofMemberDefinition
objects that contains objects that identify the workers that make up the work team.memberDefinitions
(Consumer<MemberDefinition.Builder>... memberDefinitions) A list ofMemberDefinition
objects that contains objects that identify the workers that make up the work team.memberDefinitions
(MemberDefinition... memberDefinitions) A list ofMemberDefinition
objects that contains objects that identify the workers that make up the work team.default Workteam.Builder
notificationConfiguration
(Consumer<NotificationConfiguration.Builder> notificationConfiguration) Configures SNS notifications of available or expiring work items for work teams.notificationConfiguration
(NotificationConfiguration notificationConfiguration) Configures SNS notifications of available or expiring work items for work teams.productListingIds
(String... productListingIds) The Amazon Marketplace identifier for a vendor's work team.productListingIds
(Collection<String> productListingIds) The Amazon Marketplace identifier for a vendor's work team.The URI of the labeling job's user interface.workforceArn
(String workforceArn) The Amazon Resource Name (ARN) of the workforce.workteamArn
(String workteamArn) The Amazon Resource Name (ARN) that identifies the work team.workteamName
(String workteamName) The name of the work team.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
workteamName
The name of the work team.
- Parameters:
workteamName
- The name of the work team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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) useOidcMemberDefinition
.- 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 use
CognitoMemberDefinition
. For workforces created using your own OIDC identity provider (IdP) useOidcMemberDefinition
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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) useOidcMemberDefinition
.- 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 use
CognitoMemberDefinition
. For workforces created using your own OIDC identity provider (IdP) useOidcMemberDefinition
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
This is a convenience method that creates an instance of theCognitoMemberDefinition
. For workforces created using your own OIDC identity provider (IdP) useOidcMemberDefinition
.MemberDefinition.Builder
avoiding the need to create one manually viaMemberDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberDefinitions(List<MemberDefinition>)
.- Parameters:
memberDefinitions
- a consumer that will call methods onMemberDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workteamArn
The Amazon Resource Name (ARN) that identifies the work team.
- Parameters:
workteamArn
- The Amazon Resource Name (ARN) that identifies the work team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workforceArn
The Amazon Resource Name (ARN) of the workforce.
- Parameters:
workforceArn
- The Amazon Resource Name (ARN) of the workforce.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productListingIds
The Amazon Marketplace identifier for a vendor's work team.
- Parameters:
productListingIds
- The Amazon Marketplace identifier for a vendor's work team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productListingIds
The Amazon Marketplace identifier for a vendor's work team.
- Parameters:
productListingIds
- The Amazon Marketplace identifier for a vendor's work team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the work team.
- Parameters:
description
- A description of the work team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDomain
The URI of the labeling job's user interface. Workers open this URI to start labeling your data objects.
- Parameters:
subDomain
- The URI of the labeling job's user interface. Workers open this URI to start labeling your data objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
The date and time that the work team was created (timestamp).
- Parameters:
createDate
- The date and time that the work team was created (timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDate
The date and time that the work team was last updated (timestamp).
- Parameters:
lastUpdatedDate
- The date and time that the work team was last updated (timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
default Workteam.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration) Configures SNS notifications of available or expiring work items for work teams.
This is a convenience method that creates an instance of theNotificationConfiguration.Builder
avoiding the need to create one manually viaNotificationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationConfiguration(NotificationConfiguration)
.- Parameters:
notificationConfiguration
- a consumer that will call methods onNotificationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-