/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides details about a labeling work team. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Workteam implements Serializable, Cloneable, StructuredPojo { /** ** The name of the work team. *
*/ private String workteamName; /** *
* 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
.
*
* The Amazon Resource Name (ARN) that identifies the work team. *
*/ private String workteamArn; /** ** The Amazon Resource Name (ARN) of the workforce. *
*/ private String workforceArn; /** ** The Amazon Marketplace identifier for a vendor's work team. *
*/ private java.util.List* A description of the work team. *
*/ private String description; /** ** The URI of the labeling job's user interface. Workers open this URI to start labeling your data objects. *
*/ private String subDomain; /** ** The date and time that the work team was created (timestamp). *
*/ private java.util.Date createDate; /** ** The date and time that the work team was last updated (timestamp). *
*/ private java.util.Date lastUpdatedDate; /** ** Configures SNS notifications of available or expiring work items for work teams. *
*/ private NotificationConfiguration notificationConfiguration; /** ** The name of the work team. *
* * @param workteamName * The name of the work team. */ public void setWorkteamName(String workteamName) { this.workteamName = workteamName; } /** ** The name of the work team. *
* * @return The name of the work team. */ public String getWorkteamName() { return this.workteamName; } /** ** The name of the work team. *
* * @param workteamName * The name of the work team. * @return Returns a reference to this object so that method calls can be chained together. */ public Workteam withWorkteamName(String workteamName) { setWorkteamName(workteamName); return this; } /** *
* 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
.
*
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
* A list of
* 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
.
*/
public java.util.ListMemberDefinition
objects that contains objects that identify the workers that make up the
* work team.
* CognitoMemberDefinition
. For workforces created using your own OIDC
* identity provider (IdP) use OidcMemberDefinition
.
* 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
* A list of
* Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For private workforces
* created using Amazon Cognito use
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setMemberDefinitions(java.util.Collection)} or {@link #withMemberDefinitions(java.util.Collection)} if
* you want to override the existing values.
* CognitoMemberDefinition
. For workforces created
* using your own OIDC identity provider (IdP) use OidcMemberDefinition
.
*/
public void setMemberDefinitions(java.util.CollectionMemberDefinition
objects that contains objects that identify the workers that make up the
* work team.
* CognitoMemberDefinition
. For workforces created using your own OIDC
* identity provider (IdP) use OidcMemberDefinition
.
* 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
* A list of
* 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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Workteam withMemberDefinitions(MemberDefinition... memberDefinitions) {
if (this.memberDefinitions == null) {
setMemberDefinitions(new java.util.ArrayListMemberDefinition
objects that contains objects that identify the workers that make up the
* work team.
* CognitoMemberDefinition
. For workforces created using your own OIDC
* identity provider (IdP) use OidcMemberDefinition
.
* 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
* The Amazon Resource Name (ARN) that identifies the work team.
*
* The Amazon Resource Name (ARN) that identifies the work team.
*
* The Amazon Resource Name (ARN) that identifies the work team.
*
* The Amazon Resource Name (ARN) of the workforce.
*
* The Amazon Resource Name (ARN) of the workforce.
*
* The Amazon Resource Name (ARN) of the workforce.
*
* The Amazon Marketplace identifier for a vendor's work team.
*
* The Amazon Marketplace identifier for a vendor's work team.
*
* The Amazon Marketplace identifier for a vendor's work team.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setProductListingIds(java.util.Collection)} or {@link #withProductListingIds(java.util.Collection)} if
* you want to override the existing values.
*
* The Amazon Marketplace identifier for a vendor's work team.
*
* A description of the work team.
*
* A description of the work team.
*
* A description of the work team.
*
* The URI of the labeling job's user interface. Workers open this URI to start labeling your data objects.
*
* The URI of the labeling job's user interface. Workers open this URI to start labeling your data objects.
*
* The URI of the labeling job's user interface. Workers open this URI to start labeling your data objects.
*
* The date and time that the work team was created (timestamp).
*
* The date and time that the work team was created (timestamp).
*
* The date and time that the work team was created (timestamp).
*
* The date and time that the work team was last updated (timestamp).
*
* The date and time that the work team was last updated (timestamp).
*
* The date and time that the work team was last updated (timestamp).
*
* Configures SNS notifications of available or expiring work items for work teams.
*
* Configures SNS notifications of available or expiring work items for work teams.
*
* Configures SNS notifications of available or expiring work items for work teams.
* CognitoMemberDefinition
. For workforces created
* using your own OIDC identity provider (IdP) use OidcMemberDefinition
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Workteam withMemberDefinitions(java.util.Collection