Interface RecommendationTriggerData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecommendationTriggerData.Builder,
,RecommendationTriggerData> SdkBuilder<RecommendationTriggerData.Builder,
,RecommendationTriggerData> SdkPojo
- Enclosing class:
RecommendationTriggerData
public static interface RecommendationTriggerData.Builder
extends SdkPojo, CopyableBuilder<RecommendationTriggerData.Builder,RecommendationTriggerData>
-
Method Summary
Modifier and TypeMethodDescriptionData associated with the QUERY RecommendationTriggerType.Data associated with the QUERY RecommendationTriggerType.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
-
query
Data associated with the QUERY RecommendationTriggerType.
- Parameters:
query
- Data associated with the QUERY RecommendationTriggerType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
query
default RecommendationTriggerData.Builder query(Consumer<QueryRecommendationTriggerData.Builder> query) Data associated with the QUERY RecommendationTriggerType.
This is a convenience method that creates an instance of theQueryRecommendationTriggerData.Builder
avoiding the need to create one manually viaQueryRecommendationTriggerData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquery(QueryRecommendationTriggerData)
.- Parameters:
query
- a consumer that will call methods onQueryRecommendationTriggerData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-