@Generated(value="software.amazon.awssdk:codegen") public final class Qualification extends Object implements StructuredPojo, 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) |
<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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
qualificationTypeId()
The ID of the Qualification type for the Qualification.
|
static Class<? extends Qualification.Builder> |
serializableBuilderClass() |
QualificationStatus |
status()
The status of the Qualification.
|
String |
statusAsString()
The status of the Qualification.
|
Qualification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
workerId()
The ID of the Worker who possesses the Qualification.
|
copy
public String qualificationTypeId()
The ID of the Qualification type for the Qualification.
public String workerId()
The ID of the Worker who possesses the Qualification.
public 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 Integer integerValue()
The value (score) of the Qualification, if the Qualification has an integer value.
public Locale localeValue()
public 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()
.
QualificationStatus
public 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()
.
QualificationStatus
public Qualification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Qualification.Builder,Qualification>
public static Qualification.Builder builder()
public static Class<? extends Qualification.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.