public static interface Qualification.Builder extends CopyableBuilder<Qualification.Builder,Qualification>
Modifier and Type | Method and Description |
---|---|
Qualification.Builder |
grantTime(Instant grantTime)
The date and time the Qualification was granted to the Worker.
|
Qualification.Builder |
integerValue(Integer integerValue)
The value (score) of the Qualification, if the Qualification has an integer value.
|
default Qualification.Builder |
localeValue(Consumer<Locale.Builder> localeValue)
Sets the value of the LocaleValue property for this object.
|
Qualification.Builder |
localeValue(Locale localeValue)
Sets the value of the LocaleValue property for this object.
|
Qualification.Builder |
qualificationTypeId(String qualificationTypeId)
The ID of the Qualification type for the Qualification.
|
Qualification.Builder |
status(QualificationStatus status)
The status of the Qualification.
|
Qualification.Builder |
status(String status)
The status of the Qualification.
|
Qualification.Builder |
workerId(String workerId)
The ID of the Worker who possesses the Qualification.
|
copy
apply, build
Qualification.Builder qualificationTypeId(String qualificationTypeId)
The ID of the Qualification type for the Qualification.
qualificationTypeId
- The ID of the Qualification type for the Qualification.Qualification.Builder workerId(String workerId)
The ID of the Worker who possesses the Qualification.
workerId
- The ID of the Worker who possesses the Qualification.Qualification.Builder grantTime(Instant grantTime)
The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.
grantTime
- The date and time the Qualification was granted to the Worker. If the Worker's Qualification was
revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of
the last call to the AcceptQualificationRequest operation.Qualification.Builder integerValue(Integer integerValue)
The value (score) of the Qualification, if the Qualification has an integer value.
integerValue
- The value (score) of the Qualification, if the Qualification has an integer value.Qualification.Builder localeValue(Locale localeValue)
localeValue
- The new value for the LocaleValue property for this object.default Qualification.Builder localeValue(Consumer<Locale.Builder> localeValue)
Locale.Builder
avoiding the need to create one
manually via Locale.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to localeValue(Locale)
.localeValue
- a consumer that will call methods on Locale.Builder
localeValue(Locale)
Qualification.Builder status(String status)
The status of the Qualification. Valid values are Granted | Revoked.
status
- The status of the Qualification. Valid values are Granted | Revoked.QualificationStatus
,
QualificationStatus
Qualification.Builder status(QualificationStatus status)
The status of the Qualification. Valid values are Granted | Revoked.
status
- The status of the Qualification. Valid values are Granted | Revoked.QualificationStatus
,
QualificationStatus
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.