@Generated(value="software.amazon.awssdk:codegen") public final class Qualification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Qualification.Builder,Qualification>
The Qualification data structure represents a Qualification assigned to a user, including the Qualification type and the value (score).
| Modifier and Type | Class and Description |
|---|---|
static interface |
Qualification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Qualification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Instant |
grantTime()
The date and time the Qualification was granted to the Worker.
|
int |
hashCode() |
Integer |
integerValue()
The value (score) of the Qualification, if the Qualification has an integer value.
|
Locale |
localeValue()
Returns the value of the LocaleValue property for this object.
|
String |
qualificationTypeId()
The ID of the Qualification type for the Qualification.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Qualification.Builder> |
serializableBuilderClass() |
QualificationStatus |
status()
The status of the Qualification.
|
String |
statusAsString()
The status of the Qualification.
|
Qualification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workerId()
The ID of the Worker who possesses the Qualification.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String qualificationTypeId()
The ID of the Qualification type for the Qualification.
public final String workerId()
The ID of the Worker who possesses the Qualification.
public final 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.
public final Integer integerValue()
The value (score) of the Qualification, if the Qualification has an integer value.
public final Locale localeValue()
public final QualificationStatus status()
The status of the Qualification. Valid values are Granted | Revoked.
If the service returns an enum value that is not available in the current SDK version, status will
return QualificationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
QualificationStatuspublic final String statusAsString()
The status of the Qualification. Valid values are Granted | Revoked.
If the service returns an enum value that is not available in the current SDK version, status will
return QualificationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
QualificationStatuspublic Qualification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Qualification.Builder,Qualification>public static Qualification.Builder builder()
public static Class<? extends Qualification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.