Interface Workteam.Builder

    • 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) use OidcMemberDefinition.

        Parameters:
        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.

        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) use OidcMemberDefinition.

        Parameters:
        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.

        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 CognitoMemberDefinition. For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition.

        This is a convenience method that creates an instance of the MemberDefinition.Builder avoiding the need to create one manually via MemberDefinition.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 on MemberDefinition.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.