Interface ActionReviewPayloadField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActionReviewPayloadField.Builder,
,ActionReviewPayloadField> SdkBuilder<ActionReviewPayloadField.Builder,
,ActionReviewPayloadField> SdkPojo
- Enclosing class:
ActionReviewPayloadField
-
Method Summary
Modifier and TypeMethodDescriptionallowedFormat
(String allowedFormat) The expected data format for the action review input field value.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.allowedValues
(Consumer<ActionReviewPayloadFieldAllowedValue.Builder>... 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.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.displayDescription
(String displayDescription) The field level description of each action review input field.displayName
(String displayName) The name of the field.displayOrder
(Integer displayOrder) The display order of fields in a payload.Information about whether the field is required.The type of field.type
(ActionPayloadFieldType type) The type of field.The field value.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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.
-
type
The type of field.
- Parameters:
type
- The type of field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of field.
- Parameters:
type
- The type of field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
allowedValues
ActionReviewPayloadField.Builder allowedValues(Consumer<ActionReviewPayloadFieldAllowedValue.Builder>... 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.
This is a convenience method that creates an instance of theActionReviewPayloadFieldAllowedValue.Builder
avoiding the need to create one manually viaActionReviewPayloadFieldAllowedValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toallowedValues(List<ActionReviewPayloadFieldAllowedValue>)
.- Parameters:
allowedValues
- a consumer that will call methods onActionReviewPayloadFieldAllowedValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedFormat
The expected data format for the action review input field value. For example, in PTO request,
from
andto
would be ofdatetime
allowed format.- Parameters:
allowedFormat
- The expected data format for the action review input field value. For example, in PTO request,from
andto
would be ofdatetime
allowed format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-