Interface InsightFeedbackRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<InsightFeedbackRequest.Builder,,InsightFeedbackRequest> OpenSearchRequest.Builder,SdkBuilder<InsightFeedbackRequest.Builder,,InsightFeedbackRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
InsightFeedbackRequest
@Mutable
@NotThreadSafe
public static interface InsightFeedbackRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<InsightFeedbackRequest.Builder,InsightFeedbackRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InsightFeedbackRequest.Builderentity(Consumer<InsightFeedbackEntity.Builder> entity) The entity for which to submit insight feedback.entity(InsightFeedbackEntity entity) The entity for which to submit insight feedback.feedbackText(String feedbackText) Optional text feedback providing additional details about the insight.The unique identifier of the insight for which to submit feedback.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The thumbs up or thumbs down feedback for the insight.thumbs(InsightFeedbackThumbs thumbs) The thumbs up or thumbs down feedback for the insight.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
entity
The entity for which to submit insight feedback. Specifies the type and value of the entity, such as a domain name.
- Parameters:
entity- The entity for which to submit insight feedback. Specifies the type and value of the entity, such as a domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The entity for which to submit insight feedback. Specifies the type and value of the entity, such as a domain name.
This is a convenience method that creates an instance of theInsightFeedbackEntity.Builderavoiding the need to create one manually viaInsightFeedbackEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentity(InsightFeedbackEntity).- Parameters:
entity- a consumer that will call methods onInsightFeedbackEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightId
The unique identifier of the insight for which to submit feedback.
- Parameters:
insightId- The unique identifier of the insight for which to submit feedback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thumbs
The thumbs up or thumbs down feedback for the insight. Possible values are
UpandDown.- Parameters:
thumbs- The thumbs up or thumbs down feedback for the insight. Possible values areUpandDown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
thumbs
The thumbs up or thumbs down feedback for the insight. Possible values are
UpandDown.- Parameters:
thumbs- The thumbs up or thumbs down feedback for the insight. Possible values areUpandDown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
feedbackText
Optional text feedback providing additional details about the insight. Maximum length is 1000 characters.
- Parameters:
feedbackText- Optional text feedback providing additional details about the insight. Maximum length is 1000 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
InsightFeedbackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
InsightFeedbackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-