Interface RecommenderUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommenderUpdate.Builder,,RecommenderUpdate> SdkBuilder<RecommenderUpdate.Builder,,RecommenderUpdate> SdkPojo
- Enclosing class:
RecommenderUpdate
@Mutable
@NotThreadSafe
public static interface RecommenderUpdate.Builder
extends SdkPojo, CopyableBuilder<RecommenderUpdate.Builder,RecommenderUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when this recommender update was initiated.failureReason(String failureReason) If the update operation failed, provides the reason for the failure.lastUpdatedAt(Instant lastUpdatedAt) The timestamp of when the recommender was edited.default RecommenderUpdate.BuilderrecommenderConfig(Consumer<RecommenderConfig.Builder> recommenderConfig) The updated configuration settings applied to the recommender during this update.recommenderConfig(RecommenderConfig recommenderConfig) The updated configuration settings applied to the recommender during this update.The current status of the recommender update operation.status(RecommenderStatus status) The current status of the recommender update operation.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, sdkFieldNameToField, sdkFields
-
Method Details
-
recommenderConfig
The updated configuration settings applied to the recommender during this update.
- Parameters:
recommenderConfig- The updated configuration settings applied to the recommender during this update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommenderConfig
default RecommenderUpdate.Builder recommenderConfig(Consumer<RecommenderConfig.Builder> recommenderConfig) The updated configuration settings applied to the recommender during this update.
This is a convenience method that creates an instance of theRecommenderConfig.Builderavoiding the need to create one manually viaRecommenderConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommenderConfig(RecommenderConfig).- Parameters:
recommenderConfig- a consumer that will call methods onRecommenderConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the recommender update operation.
- Parameters:
status- The current status of the recommender update operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the recommender update operation.
- Parameters:
status- The current status of the recommender update operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when this recommender update was initiated.
- Parameters:
createdAt- The timestamp when this recommender update was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp of when the recommender was edited.
- Parameters:
lastUpdatedAt- The timestamp of when the recommender was edited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If the update operation failed, provides the reason for the failure.
- Parameters:
failureReason- If the update operation failed, provides the reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-