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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Qualification.BuildergrantTime(Instant grantTime)The date and time the Qualification was granted to the Worker.Qualification.BuilderintegerValue(Integer integerValue)The value (score) of the Qualification, if the Qualification has an integer value.default Qualification.BuilderlocaleValue(Consumer<Locale.Builder> localeValue)Sets the value of the LocaleValue property for this object.Qualification.BuilderlocaleValue(Locale localeValue)Sets the value of the LocaleValue property for this object.Qualification.BuilderqualificationTypeId(String qualificationTypeId)The ID of the Qualification type for the Qualification.Qualification.Builderstatus(String status)The status of the Qualification.Qualification.Builderstatus(QualificationStatus status)The status of the Qualification.Qualification.BuilderworkerId(String workerId)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 Detail
-
qualificationTypeId
Qualification.Builder qualificationTypeId(String 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
Qualification.Builder workerId(String 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
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.
- 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
Qualification.Builder integerValue(Integer 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
Qualification.Builder localeValue(Locale 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
default Qualification.Builder localeValue(Consumer<Locale.Builder> localeValue)
Sets the value of the LocaleValue property for this object. This is a convenience method that creates an instance of theLocale.Builderavoiding the need to create one manually viaLocale.builder().When the
Consumercompletes,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:
localeValue(Locale)
-
status
Qualification.Builder status(String 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:
QualificationStatus,QualificationStatus
-
status
Qualification.Builder status(QualificationStatus 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:
QualificationStatus,QualificationStatus
-
-