Interface ActionReviewPayloadField.Builder

    • Method Detail

      • displayName

        ActionReviewPayloadField.Builder displayName​(String displayName)

        The name of the field.

        Parameters:
        displayName - The name of the field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayOrder

        ActionReviewPayloadField.Builder displayOrder​(Integer displayOrder)

        The display order of fields in a payload.

        Parameters:
        displayOrder - The display order of fields in a payload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayDescription

        ActionReviewPayloadField.Builder displayDescription​(String displayDescription)

        The field level description of each action review input field. This could be an explanation of the field. In the Amazon Q Business web experience, these descriptions could be used to display as tool tips to help users understand the field.

        Parameters:
        displayDescription - The field level description of each action review input field. This could be an explanation of the field. In the Amazon Q Business web experience, these descriptions could be used to display as tool tips to help users understand the field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        ActionReviewPayloadField.Builder value​(Document value)

        The field value.

        Parameters:
        value - The field value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedValues

        ActionReviewPayloadField.Builder allowedValues​(Collection<ActionReviewPayloadFieldAllowedValue> allowedValues)

        Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.

        Parameters:
        allowedValues - Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedValues

        ActionReviewPayloadField.Builder allowedValues​(ActionReviewPayloadFieldAllowedValue... allowedValues)

        Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.

        Parameters:
        allowedValues - Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedFormat

        ActionReviewPayloadField.Builder allowedFormat​(String allowedFormat)

        The expected data format for the action review input field value. For example, in PTO request, from and to would be of datetime allowed format.

        Parameters:
        allowedFormat - The expected data format for the action review input field value. For example, in PTO request, from and to would be of datetime allowed format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • required

        ActionReviewPayloadField.Builder required​(Boolean required)

        Information about whether the field is required.

        Parameters:
        required - Information about whether the field is required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.