Interface Qualification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Qualification.Builder,
,Qualification> SdkBuilder<Qualification.Builder,
,Qualification> SdkPojo
- Enclosing class:
Qualification
public static interface Qualification.Builder
extends SdkPojo, CopyableBuilder<Qualification.Builder,Qualification>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time the Qualification was granted to the Worker.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.localeValue
(Locale localeValue) Sets the value of the LocaleValue property for this object.qualificationTypeId
(String qualificationTypeId) The ID of the Qualification type for the Qualification.The status of the Qualification.status
(QualificationStatus status) The status of the Qualification.The ID of the Worker who possesses the Qualification.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
qualificationTypeId
The ID of the Qualification type for the Qualification.
- Parameters:
qualificationTypeId
- The ID of the Qualification type for the Qualification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerId
The ID of the Worker who possesses the Qualification.
- Parameters:
workerId
- The ID of the Worker who possesses the Qualification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integerValue
The value (score) of the Qualification, if the Qualification has an integer value.
- Parameters:
integerValue
- The value (score) of the Qualification, if the Qualification has an integer value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeValue
Sets the value of the LocaleValue property for this object.- Parameters:
localeValue
- The new value for the LocaleValue property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeValue
Sets the value of the LocaleValue property for this object. This is a convenience method that creates an instance of theLocale.Builder
avoiding the need to create one manually viaLocale.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocaleValue(Locale)
.- Parameters:
localeValue
- a consumer that will call methods onLocale.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the Qualification. Valid values are Granted | Revoked.
- Parameters:
status
- The status of the Qualification. Valid values are Granted | Revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the Qualification. Valid values are Granted | Revoked.
- Parameters:
status
- The status of the Qualification. Valid values are Granted | Revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-