Interface StartRecommendationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<StartRecommendationResponse.Builder,,StartRecommendationResponse> SdkBuilder<StartRecommendationResponse.Builder,,StartRecommendationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartRecommendationResponse
@Mutable
@NotThreadSafe
public static interface StartRecommendationResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<StartRecommendationResponse.Builder,StartRecommendationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the recommendation was created.description(String description) The description of the recommendation.The name of the recommendation.recommendationArn(String recommendationArn) The Amazon Resource Name (ARN) of the created recommendation.recommendationConfig(Consumer<RecommendationConfig.Builder> recommendationConfig) The configuration for the recommendation.recommendationConfig(RecommendationConfig recommendationConfig) The configuration for the recommendation.recommendationId(String recommendationId) The unique identifier of the created recommendation.The status of the recommendation.status(RecommendationStatus status) The status of the recommendation.The type of recommendation.type(RecommendationType type) The type of recommendation.The timestamp when the recommendation was last updated.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
recommendationId
The unique identifier of the created recommendation.
- Parameters:
recommendationId- The unique identifier of the created recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationArn
The Amazon Resource Name (ARN) of the created recommendation.
- Parameters:
recommendationArn- The Amazon Resource Name (ARN) of the created recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the recommendation.
- Parameters:
name- The name of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the recommendation.
- Parameters:
description- The description of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of recommendation.
- Parameters:
type- The type of recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of recommendation.
- Parameters:
type- The type of recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationConfig
The configuration for the recommendation.
- Parameters:
recommendationConfig- The configuration for the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationConfig
default StartRecommendationResponse.Builder recommendationConfig(Consumer<RecommendationConfig.Builder> recommendationConfig) The configuration for the recommendation.
This is a convenience method that creates an instance of theRecommendationConfig.Builderavoiding the need to create one manually viaRecommendationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendationConfig(RecommendationConfig).- Parameters:
recommendationConfig- a consumer that will call methods onRecommendationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the recommendation.
- Parameters:
status- The status of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the recommendation.
- Parameters:
status- The status of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the recommendation was created.
- Parameters:
createdAt- The timestamp when the recommendation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the recommendation was last updated.
- Parameters:
updatedAt- The timestamp when the recommendation was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-