@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkforceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateWorkforceRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateWorkforceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CognitoConfig |
getCognitoConfig()
Use this parameter to configure an Amazon Cognito private workforce.
|
OidcConfig |
getOidcConfig()
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
|
SourceIpConfig |
getSourceIpConfig() |
List<Tag> |
getTags()
An array of key-value pairs that contain metadata to help you categorize and organize our workforce.
|
String |
getWorkforceName()
The name of the private workforce.
|
WorkforceVpcConfigRequest |
getWorkforceVpcConfig()
Use this parameter to configure a workforce using VPC.
|
int |
hashCode() |
void |
setCognitoConfig(CognitoConfig cognitoConfig)
Use this parameter to configure an Amazon Cognito private workforce.
|
void |
setOidcConfig(OidcConfig oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
|
void |
setSourceIpConfig(SourceIpConfig sourceIpConfig) |
void |
setTags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce.
|
void |
setWorkforceName(String workforceName)
The name of the private workforce.
|
void |
setWorkforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkforceRequest |
withCognitoConfig(CognitoConfig cognitoConfig)
Use this parameter to configure an Amazon Cognito private workforce.
|
CreateWorkforceRequest |
withOidcConfig(OidcConfig oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
|
CreateWorkforceRequest |
withSourceIpConfig(SourceIpConfig sourceIpConfig) |
CreateWorkforceRequest |
withTags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce.
|
CreateWorkforceRequest |
withTags(Tag... tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce.
|
CreateWorkforceRequest |
withWorkforceName(String workforceName)
The name of the private workforce.
|
CreateWorkforceRequest |
withWorkforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
|
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, withSdkRequestTimeoutpublic void setCognitoConfig(CognitoConfig cognitoConfig)
Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
Do not use OidcConfig if you specify values for CognitoConfig.
cognitoConfig - Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created
using and corresponds to a single Amazon
Cognito user pool.
Do not use OidcConfig if you specify values for CognitoConfig.
public CognitoConfig getCognitoConfig()
Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
Do not use OidcConfig if you specify values for CognitoConfig.
Do not use OidcConfig if you specify values for CognitoConfig.
public CreateWorkforceRequest withCognitoConfig(CognitoConfig cognitoConfig)
Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
Do not use OidcConfig if you specify values for CognitoConfig.
cognitoConfig - Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created
using and corresponds to a single Amazon
Cognito user pool.
Do not use OidcConfig if you specify values for CognitoConfig.
public void setOidcConfig(OidcConfig oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig if you specify values for OidcConfig.
oidcConfig - Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig if you specify values for OidcConfig.
public OidcConfig getOidcConfig()
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig if you specify values for OidcConfig.
Do not use CognitoConfig if you specify values for OidcConfig.
public CreateWorkforceRequest withOidcConfig(OidcConfig oidcConfig)
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig if you specify values for OidcConfig.
oidcConfig - Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig if you specify values for OidcConfig.
public void setSourceIpConfig(SourceIpConfig sourceIpConfig)
sourceIpConfig - public SourceIpConfig getSourceIpConfig()
public CreateWorkforceRequest withSourceIpConfig(SourceIpConfig sourceIpConfig)
sourceIpConfig - public void setWorkforceName(String workforceName)
The name of the private workforce.
workforceName - The name of the private workforce.public String getWorkforceName()
The name of the private workforce.
public CreateWorkforceRequest withWorkforceName(String workforceName)
The name of the private workforce.
workforceName - The name of the private workforce.public List<Tag> getTags()
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
public void setTags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
tags - An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each
tag consists of a key and a value, both of which you define.public CreateWorkforceRequest withTags(Tag... tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
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 that contain metadata to help you categorize and organize our workforce. Each
tag consists of a key and a value, both of which you define.public CreateWorkforceRequest withTags(Collection<Tag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
tags - An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each
tag consists of a key and a value, both of which you define.public void setWorkforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
workforceVpcConfig - Use this parameter to configure a workforce using VPC.public WorkforceVpcConfigRequest getWorkforceVpcConfig()
Use this parameter to configure a workforce using VPC.
public CreateWorkforceRequest withWorkforceVpcConfig(WorkforceVpcConfigRequest workforceVpcConfig)
Use this parameter to configure a workforce using VPC.
workforceVpcConfig - Use this parameter to configure a workforce using VPC.public String toString()
toString in class ObjectObject.toString()public CreateWorkforceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()