@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Qualification extends Object implements Serializable, Cloneable, StructuredPojo
The Qualification data structure represents a Qualification assigned to a user, including the Qualification type and the value (score).
Constructor and Description |
---|
Qualification() |
Modifier and Type | Method and Description |
---|---|
Qualification |
clone() |
boolean |
equals(Object obj) |
Date |
getGrantTime()
The date and time the Qualification was granted to the Worker.
|
Integer |
getIntegerValue()
The value (score) of the Qualification, if the Qualification has an integer value.
|
Locale |
getLocaleValue() |
String |
getQualificationTypeId()
The ID of the Qualification type for the Qualification.
|
String |
getStatus()
The status of the Qualification.
|
String |
getWorkerId()
The ID of the Worker who possesses the Qualification.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGrantTime(Date grantTime)
The date and time the Qualification was granted to the Worker.
|
void |
setIntegerValue(Integer integerValue)
The value (score) of the Qualification, if the Qualification has an integer value.
|
void |
setLocaleValue(Locale localeValue) |
void |
setQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type for the Qualification.
|
void |
setStatus(QualificationStatus status)
The status of the Qualification.
|
void |
setStatus(String status)
The status of the Qualification.
|
void |
setWorkerId(String workerId)
The ID of the Worker who possesses the Qualification.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Qualification |
withGrantTime(Date grantTime)
The date and time the Qualification was granted to the Worker.
|
Qualification |
withIntegerValue(Integer integerValue)
The value (score) of the Qualification, if the Qualification has an integer value.
|
Qualification |
withLocaleValue(Locale localeValue) |
Qualification |
withQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type for the Qualification.
|
Qualification |
withStatus(QualificationStatus status)
The status of the Qualification.
|
Qualification |
withStatus(String status)
The status of the Qualification.
|
Qualification |
withWorkerId(String workerId)
The ID of the Worker who possesses the Qualification.
|
public void setQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type for the Qualification.
qualificationTypeId
- The ID of the Qualification type for the Qualification.public String getQualificationTypeId()
The ID of the Qualification type for the Qualification.
public Qualification withQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type for the Qualification.
qualificationTypeId
- The ID of the Qualification type for the Qualification.public void setWorkerId(String workerId)
The ID of the Worker who possesses the Qualification.
workerId
- The ID of the Worker who possesses the Qualification.public String getWorkerId()
The ID of the Worker who possesses the Qualification.
public Qualification withWorkerId(String workerId)
The ID of the Worker who possesses the Qualification.
workerId
- The ID of the Worker who possesses the Qualification.public void setGrantTime(Date 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.public Date getGrantTime()
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 Qualification withGrantTime(Date 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.public void setIntegerValue(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.public Integer getIntegerValue()
The value (score) of the Qualification, if the Qualification has an integer value.
public Qualification withIntegerValue(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.public void setLocaleValue(Locale localeValue)
localeValue
- public Locale getLocaleValue()
public Qualification withLocaleValue(Locale localeValue)
localeValue
- public void setStatus(String status)
The status of the Qualification. Valid values are Granted | Revoked.
status
- The status of the Qualification. Valid values are Granted | Revoked.QualificationStatus
public String getStatus()
The status of the Qualification. Valid values are Granted | Revoked.
QualificationStatus
public Qualification withStatus(String status)
The status of the Qualification. Valid values are Granted | Revoked.
status
- The status of the Qualification. Valid values are Granted | Revoked.QualificationStatus
public void setStatus(QualificationStatus status)
The status of the Qualification. Valid values are Granted | Revoked.
status
- The status of the Qualification. Valid values are Granted | Revoked.QualificationStatus
public Qualification withStatus(QualificationStatus status)
The status of the Qualification. Valid values are Granted | Revoked.
status
- The status of the Qualification. Valid values are Granted | Revoked.QualificationStatus
public String toString()
toString
in class Object
Object.toString()
public Qualification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.