Interface RecommendationTrigger.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationTrigger.Builder,,RecommendationTrigger> SdkBuilder<RecommendationTrigger.Builder,,RecommendationTrigger> SdkPojo
- Enclosing class:
RecommendationTrigger
-
Method Summary
Modifier and TypeMethodDescriptiondefault RecommendationTrigger.BuilderA union type containing information related to the trigger.A union type containing information related to the trigger.The identifier of the recommendation trigger.recommendationIds(String... recommendationIds) The identifiers of the recommendations.recommendationIds(Collection<String> recommendationIds) The identifiers of the recommendations.The source of the recommendation trigger.source(RecommendationSourceType source) The source of the recommendation trigger.The type of recommendation trigger.The type of recommendation trigger.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
data
A union type containing information related to the trigger.
- Parameters:
data- A union type containing information related to the trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
A union type containing information related to the trigger.
This is a convenience method that creates an instance of theRecommendationTriggerData.Builderavoiding the need to create one manually viaRecommendationTriggerData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(RecommendationTriggerData).- Parameters:
data- a consumer that will call methods onRecommendationTriggerData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The identifier of the recommendation trigger.
- Parameters:
id- The identifier of the recommendation trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationIds
The identifiers of the recommendations.
- Parameters:
recommendationIds- The identifiers of the recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationIds
The identifiers of the recommendations.
- Parameters:
recommendationIds- The identifiers of the recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the recommendation trigger.
-
ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.
-
RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.
- Parameters:
source- The source of the recommendation trigger.-
ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.
-
RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
source
The source of the recommendation trigger.
-
ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.
-
RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.
- Parameters:
source- The source of the recommendation trigger.-
ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.
-
RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of recommendation trigger.
- Parameters:
type- The type of recommendation trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of recommendation trigger.
- Parameters:
type- The type of recommendation trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-