@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateQualificationTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateQualificationTypeRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateQualificationTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAnswerKey()
The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data
structure.
|
Boolean |
getAutoGranted()
Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with
a Qualification test.
|
Integer |
getAutoGrantedValue()
The Qualification value to use for automatically granted Qualifications.
|
String |
getDescription()
The new description of the Qualification type.
|
String |
getQualificationTypeId()
The ID of the Qualification type to update.
|
String |
getQualificationTypeStatus()
The new status of the Qualification type - Active | Inactive
|
Long |
getRetryDelayInSeconds()
The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified
Qualification type before they can retry the Qualification request.
|
String |
getTest()
The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type.
|
Long |
getTestDurationInSeconds()
The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker
requests the Qualification.
|
int |
hashCode() |
Boolean |
isAutoGranted()
Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with
a Qualification test.
|
void |
setAnswerKey(String answerKey)
The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data
structure.
|
void |
setAutoGranted(Boolean autoGranted)
Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with
a Qualification test.
|
void |
setAutoGrantedValue(Integer autoGrantedValue)
The Qualification value to use for automatically granted Qualifications.
|
void |
setDescription(String description)
The new description of the Qualification type.
|
void |
setQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type to update.
|
void |
setQualificationTypeStatus(QualificationTypeStatus qualificationTypeStatus)
The new status of the Qualification type - Active | Inactive
|
void |
setQualificationTypeStatus(String qualificationTypeStatus)
The new status of the Qualification type - Active | Inactive
|
void |
setRetryDelayInSeconds(Long retryDelayInSeconds)
The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified
Qualification type before they can retry the Qualification request.
|
void |
setTest(String test)
The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type.
|
void |
setTestDurationInSeconds(Long testDurationInSeconds)
The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker
requests the Qualification.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateQualificationTypeRequest |
withAnswerKey(String answerKey)
The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data
structure.
|
UpdateQualificationTypeRequest |
withAutoGranted(Boolean autoGranted)
Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with
a Qualification test.
|
UpdateQualificationTypeRequest |
withAutoGrantedValue(Integer autoGrantedValue)
The Qualification value to use for automatically granted Qualifications.
|
UpdateQualificationTypeRequest |
withDescription(String description)
The new description of the Qualification type.
|
UpdateQualificationTypeRequest |
withQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type to update.
|
UpdateQualificationTypeRequest |
withQualificationTypeStatus(QualificationTypeStatus qualificationTypeStatus)
The new status of the Qualification type - Active | Inactive
|
UpdateQualificationTypeRequest |
withQualificationTypeStatus(String qualificationTypeStatus)
The new status of the Qualification type - Active | Inactive
|
UpdateQualificationTypeRequest |
withRetryDelayInSeconds(Long retryDelayInSeconds)
The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified
Qualification type before they can retry the Qualification request.
|
UpdateQualificationTypeRequest |
withTest(String test)
The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type.
|
UpdateQualificationTypeRequest |
withTestDurationInSeconds(Long testDurationInSeconds)
The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker
requests the Qualification.
|
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 setQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type to update.
qualificationTypeId
- The ID of the Qualification type to update.public String getQualificationTypeId()
The ID of the Qualification type to update.
public UpdateQualificationTypeRequest withQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type to update.
qualificationTypeId
- The ID of the Qualification type to update.public void setDescription(String description)
The new description of the Qualification type.
description
- The new description of the Qualification type.public String getDescription()
The new description of the Qualification type.
public UpdateQualificationTypeRequest withDescription(String description)
The new description of the Qualification type.
description
- The new description of the Qualification type.public void setQualificationTypeStatus(String qualificationTypeStatus)
The new status of the Qualification type - Active | Inactive
qualificationTypeStatus
- The new status of the Qualification type - Active | InactiveQualificationTypeStatus
public String getQualificationTypeStatus()
The new status of the Qualification type - Active | Inactive
QualificationTypeStatus
public UpdateQualificationTypeRequest withQualificationTypeStatus(String qualificationTypeStatus)
The new status of the Qualification type - Active | Inactive
qualificationTypeStatus
- The new status of the Qualification type - Active | InactiveQualificationTypeStatus
public void setQualificationTypeStatus(QualificationTypeStatus qualificationTypeStatus)
The new status of the Qualification type - Active | Inactive
qualificationTypeStatus
- The new status of the Qualification type - Active | InactiveQualificationTypeStatus
public UpdateQualificationTypeRequest withQualificationTypeStatus(QualificationTypeStatus qualificationTypeStatus)
The new status of the Qualification type - Active | Inactive
qualificationTypeStatus
- The new status of the Qualification type - Active | InactiveQualificationTypeStatus
public void setTest(String test)
The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type.
If this parameter is specified, TestDurationInSeconds
must also be specified.
Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.
Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.
test
- The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this
type. If this parameter is specified, TestDurationInSeconds
must also be specified.
Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.
Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.
public String getTest()
The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type.
If this parameter is specified, TestDurationInSeconds
must also be specified.
Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.
Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.
TestDurationInSeconds
must also be specified.
Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.
Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.
public UpdateQualificationTypeRequest withTest(String test)
The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type.
If this parameter is specified, TestDurationInSeconds
must also be specified.
Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.
Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.
test
- The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this
type. If this parameter is specified, TestDurationInSeconds
must also be specified.
Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.
Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.
public void setAnswerKey(String answerKey)
The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.
answerKey
- The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data
structure.public String getAnswerKey()
The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.
public UpdateQualificationTypeRequest withAnswerKey(String answerKey)
The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.
answerKey
- The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data
structure.public void setTestDurationInSeconds(Long testDurationInSeconds)
The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.
testDurationInSeconds
- The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker
requests the Qualification.public Long getTestDurationInSeconds()
The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.
public UpdateQualificationTypeRequest withTestDurationInSeconds(Long testDurationInSeconds)
The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.
testDurationInSeconds
- The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker
requests the Qualification.public void setRetryDelayInSeconds(Long retryDelayInSeconds)
The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified Qualification type before they can retry the Qualification request. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must dispose of the existing retry-enabled Qualification type using DisposeQualificationType and then create a new Qualification type with retries disabled using CreateQualificationType.
retryDelayInSeconds
- The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified
Qualification type before they can retry the Qualification request. It is not possible to disable retries
for a Qualification type after it has been created with retries enabled. If you want to disable retries,
you must dispose of the existing retry-enabled Qualification type using DisposeQualificationType and then
create a new Qualification type with retries disabled using CreateQualificationType.public Long getRetryDelayInSeconds()
The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified Qualification type before they can retry the Qualification request. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must dispose of the existing retry-enabled Qualification type using DisposeQualificationType and then create a new Qualification type with retries disabled using CreateQualificationType.
public UpdateQualificationTypeRequest withRetryDelayInSeconds(Long retryDelayInSeconds)
The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified Qualification type before they can retry the Qualification request. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must dispose of the existing retry-enabled Qualification type using DisposeQualificationType and then create a new Qualification type with retries disabled using CreateQualificationType.
retryDelayInSeconds
- The amount of time, in seconds, that Workers must wait after requesting a Qualification of the specified
Qualification type before they can retry the Qualification request. It is not possible to disable retries
for a Qualification type after it has been created with retries enabled. If you want to disable retries,
you must dispose of the existing retry-enabled Qualification type using DisposeQualificationType and then
create a new Qualification type with retries disabled using CreateQualificationType.public void setAutoGranted(Boolean autoGranted)
Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.
Constraints: If the Test parameter is specified, this parameter cannot be true.
autoGranted
- Specifies whether requests for the Qualification type are granted immediately, without prompting the
Worker with a Qualification test.
Constraints: If the Test parameter is specified, this parameter cannot be true.
public Boolean getAutoGranted()
Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.
Constraints: If the Test parameter is specified, this parameter cannot be true.
Constraints: If the Test parameter is specified, this parameter cannot be true.
public UpdateQualificationTypeRequest withAutoGranted(Boolean autoGranted)
Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.
Constraints: If the Test parameter is specified, this parameter cannot be true.
autoGranted
- Specifies whether requests for the Qualification type are granted immediately, without prompting the
Worker with a Qualification test.
Constraints: If the Test parameter is specified, this parameter cannot be true.
public Boolean isAutoGranted()
Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.
Constraints: If the Test parameter is specified, this parameter cannot be true.
Constraints: If the Test parameter is specified, this parameter cannot be true.
public void setAutoGrantedValue(Integer autoGrantedValue)
The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.
autoGrantedValue
- The Qualification value to use for automatically granted Qualifications. This parameter is used only if
the AutoGranted parameter is true.public Integer getAutoGrantedValue()
The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.
public UpdateQualificationTypeRequest withAutoGrantedValue(Integer autoGrantedValue)
The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.
autoGrantedValue
- The Qualification value to use for automatically granted Qualifications. This parameter is used only if
the AutoGranted parameter is true.public String toString()
toString
in class Object
Object.toString()
public UpdateQualificationTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.