@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkteamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkteamRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkteamRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the work team.
|
List<MemberDefinition> |
getMemberDefinitions()
A list of
MemberDefinition objects that contains objects that identify the Amazon Cognito user pool
that makes up the work team. |
NotificationConfiguration |
getNotificationConfiguration()
Configures notification of workers regarding available or expiring work items.
|
List<Tag> |
getTags()
An array of key-value pairs.
|
String |
getWorkteamName()
The name of the work team.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the work team.
|
void |
setMemberDefinitions(Collection<MemberDefinition> memberDefinitions)
A list of
MemberDefinition objects that contains objects that identify the Amazon Cognito user pool
that makes up the work team. |
void |
setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Configures notification of workers regarding available or expiring work items.
|
void |
setTags(Collection<Tag> tags)
An array of key-value pairs.
|
void |
setWorkteamName(String workteamName)
The name of the work team.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkteamRequest |
withDescription(String description)
A description of the work team.
|
CreateWorkteamRequest |
withMemberDefinitions(Collection<MemberDefinition> memberDefinitions)
A list of
MemberDefinition objects that contains objects that identify the Amazon Cognito user pool
that makes up the work team. |
CreateWorkteamRequest |
withMemberDefinitions(MemberDefinition... memberDefinitions)
A list of
MemberDefinition objects that contains objects that identify the Amazon Cognito user pool
that makes up the work team. |
CreateWorkteamRequest |
withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Configures notification of workers regarding available or expiring work items.
|
CreateWorkteamRequest |
withTags(Collection<Tag> tags)
An array of key-value pairs.
|
CreateWorkteamRequest |
withTags(Tag... tags)
An array of key-value pairs.
|
CreateWorkteamRequest |
withWorkteamName(String workteamName)
The name of the work team.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setWorkteamName(String workteamName)
The name of the work team. Use this name to identify the work team.
workteamName
- The name of the work team. Use this name to identify the work team.public String getWorkteamName()
The name of the work team. Use this name to identify the work team.
public CreateWorkteamRequest withWorkteamName(String workteamName)
The name of the work team. Use this name to identify the work team.
workteamName
- The name of the work team. Use this name to identify the work team.public List<MemberDefinition> getMemberDefinitions()
A list of MemberDefinition
objects that contains objects that identify the Amazon Cognito user pool
that makes up the work team. For more information, see Amazon Cognito
User Pools.
All of the CognitoMemberDefinition
objects that make up the member definition must have the same
ClientId
and UserPool
values.
MemberDefinition
objects that contains objects that identify the Amazon Cognito
user pool that makes up the work team. For more information, see Amazon
Cognito User Pools.
All of the CognitoMemberDefinition
objects that make up the member definition must have the
same ClientId
and UserPool
values.
public void setMemberDefinitions(Collection<MemberDefinition> memberDefinitions)
A list of MemberDefinition
objects that contains objects that identify the Amazon Cognito user pool
that makes up the work team. For more information, see Amazon Cognito
User Pools.
All of the CognitoMemberDefinition
objects that make up the member definition must have the same
ClientId
and UserPool
values.
memberDefinitions
- A list of MemberDefinition
objects that contains objects that identify the Amazon Cognito
user pool that makes up the work team. For more information, see Amazon
Cognito User Pools.
All of the CognitoMemberDefinition
objects that make up the member definition must have the
same ClientId
and UserPool
values.
public CreateWorkteamRequest withMemberDefinitions(MemberDefinition... memberDefinitions)
A list of MemberDefinition
objects that contains objects that identify the Amazon Cognito user pool
that makes up the work team. For more information, see Amazon Cognito
User Pools.
All of the CognitoMemberDefinition
objects that make up the member definition must have the same
ClientId
and UserPool
values.
NOTE: This method appends the values to the existing list (if any). Use
setMemberDefinitions(java.util.Collection)
or withMemberDefinitions(java.util.Collection)
if
you want to override the existing values.
memberDefinitions
- A list of MemberDefinition
objects that contains objects that identify the Amazon Cognito
user pool that makes up the work team. For more information, see Amazon
Cognito User Pools.
All of the CognitoMemberDefinition
objects that make up the member definition must have the
same ClientId
and UserPool
values.
public CreateWorkteamRequest withMemberDefinitions(Collection<MemberDefinition> memberDefinitions)
A list of MemberDefinition
objects that contains objects that identify the Amazon Cognito user pool
that makes up the work team. For more information, see Amazon Cognito
User Pools.
All of the CognitoMemberDefinition
objects that make up the member definition must have the same
ClientId
and UserPool
values.
memberDefinitions
- A list of MemberDefinition
objects that contains objects that identify the Amazon Cognito
user pool that makes up the work team. For more information, see Amazon
Cognito User Pools.
All of the CognitoMemberDefinition
objects that make up the member definition must have the
same ClientId
and UserPool
values.
public void setDescription(String description)
A description of the work team.
description
- A description of the work team.public String getDescription()
A description of the work team.
public CreateWorkteamRequest withDescription(String description)
A description of the work team.
description
- A description of the work team.public void setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Configures notification of workers regarding available or expiring work items.
notificationConfiguration
- Configures notification of workers regarding available or expiring work items.public NotificationConfiguration getNotificationConfiguration()
Configures notification of workers regarding available or expiring work items.
public CreateWorkteamRequest withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Configures notification of workers regarding available or expiring work items.
notificationConfiguration
- Configures notification of workers regarding available or expiring work items.public List<Tag> getTags()
An array of key-value pairs.
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
public void setTags(Collection<Tag> tags)
An array of key-value pairs.
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
tags
- An array of key-value pairs.
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
public CreateWorkteamRequest withTags(Tag... tags)
An array of key-value pairs.
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An array of key-value pairs.
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
public CreateWorkteamRequest withTags(Collection<Tag> tags)
An array of key-value pairs.
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
tags
- An array of key-value pairs.
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateWorkteamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.