Interface Workteam.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Workteam.Builder,Workteam>
,SdkBuilder<Workteam.Builder,Workteam>
,SdkPojo
- Enclosing class:
- Workteam
public static interface Workteam.Builder extends SdkPojo, CopyableBuilder<Workteam.Builder,Workteam>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Workteam.Builder
createDate(Instant createDate)
The date and time that the work team was created (timestamp).Workteam.Builder
description(String description)
A description of the work team.Workteam.Builder
lastUpdatedDate(Instant lastUpdatedDate)
The date and time that the work team was last updated (timestamp).Workteam.Builder
memberDefinitions(Collection<MemberDefinition> memberDefinitions)
A list ofMemberDefinition
objects that contains objects that identify the workers that make up the work team.Workteam.Builder
memberDefinitions(Consumer<MemberDefinition.Builder>... memberDefinitions)
A list ofMemberDefinition
objects that contains objects that identify the workers that make up the work team.Workteam.Builder
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.Workteam.Builder
notificationConfiguration(NotificationConfiguration notificationConfiguration)
Configures SNS notifications of available or expiring work items for work teams.Workteam.Builder
productListingIds(String... productListingIds)
The Amazon Marketplace identifier for a vendor's work team.Workteam.Builder
productListingIds(Collection<String> productListingIds)
The Amazon Marketplace identifier for a vendor's work team.Workteam.Builder
subDomain(String subDomain)
The URI of the labeling job's user interface.default Workteam.Builder
workerAccessConfiguration(Consumer<WorkerAccessConfiguration.Builder> workerAccessConfiguration)
Describes any access constraints that have been defined for Amazon S3 resources.Workteam.Builder
workerAccessConfiguration(WorkerAccessConfiguration workerAccessConfiguration)
Describes any access constraints that have been defined for Amazon S3 resources.Workteam.Builder
workforceArn(String workforceArn)
The Amazon Resource Name (ARN) of the workforce.Workteam.Builder
workteamArn(String workteamArn)
The Amazon Resource Name (ARN) that identifies the work team.Workteam.Builder
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 Detail
-
workteamName
Workteam.Builder workteamName(String 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
Workteam.Builder memberDefinitions(Collection<MemberDefinition> 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
Workteam.Builder memberDefinitions(MemberDefinition... 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
Workteam.Builder memberDefinitions(Consumer<MemberDefinition.Builder>... 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 to#memberDefinitions(List
.) - 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:
#memberDefinitions(java.util.Collection
)
-
workteamArn
Workteam.Builder workteamArn(String 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
Workteam.Builder workforceArn(String 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
Workteam.Builder productListingIds(Collection<String> 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
Workteam.Builder productListingIds(String... 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
Workteam.Builder description(String 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
Workteam.Builder subDomain(String 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
Workteam.Builder createDate(Instant 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
Workteam.Builder lastUpdatedDate(Instant 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
Workteam.Builder notificationConfiguration(NotificationConfiguration 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:
notificationConfiguration(NotificationConfiguration)
-
workerAccessConfiguration
Workteam.Builder workerAccessConfiguration(WorkerAccessConfiguration workerAccessConfiguration)
Describes any access constraints that have been defined for Amazon S3 resources.
- Parameters:
workerAccessConfiguration
- Describes any access constraints that have been defined for Amazon S3 resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerAccessConfiguration
default Workteam.Builder workerAccessConfiguration(Consumer<WorkerAccessConfiguration.Builder> workerAccessConfiguration)
Describes any access constraints that have been defined for Amazon S3 resources.
This is a convenience method that creates an instance of theWorkerAccessConfiguration.Builder
avoiding the need to create one manually viaWorkerAccessConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkerAccessConfiguration(WorkerAccessConfiguration)
.- Parameters:
workerAccessConfiguration
- a consumer that will call methods onWorkerAccessConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
workerAccessConfiguration(WorkerAccessConfiguration)
-
-