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 Details

    • 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 the Locale.Builder avoiding the need to create one manually via Locale.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to localeValue(Locale).

      Parameters:
      localeValue - a consumer that will call methods on Locale.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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: