Interface RecommenderUpdateSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommenderUpdateSummary.Builder,,RecommenderUpdateSummary> SdkBuilder<RecommenderUpdateSummary.Builder,,RecommenderUpdateSummary> SdkPojo
- Enclosing class:
RecommenderUpdateSummary
@Mutable
@NotThreadSafe
public static interface RecommenderUpdateSummary.Builder
extends SdkPojo, CopyableBuilder<RecommenderUpdateSummary.Builder,RecommenderUpdateSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime(Instant creationDateTime) The date and time (in Unix format) that the recommender update was created.failureReason(String failureReason) If a recommender update fails, the reason behind the failure.lastUpdatedDateTime(Instant lastUpdatedDateTime) The date and time (in Unix time) that the recommender update was last updated.default RecommenderUpdateSummary.BuilderrecommenderConfig(Consumer<RecommenderConfig.Builder> recommenderConfig) The configuration details of the recommender update.recommenderConfig(RecommenderConfig recommenderConfig) The configuration details of the recommender update.The status of the recommender update.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 configuration details of the recommender update.
- Parameters:
recommenderConfig- The configuration details of the recommender update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommenderConfig
default RecommenderUpdateSummary.Builder recommenderConfig(Consumer<RecommenderConfig.Builder> recommenderConfig) The configuration details of the recommender 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:
-
creationDateTime
The date and time (in Unix format) that the recommender update was created.
- Parameters:
creationDateTime- The date and time (in Unix format) that the recommender update was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The date and time (in Unix time) that the recommender update was last updated.
- Parameters:
lastUpdatedDateTime- The date and time (in Unix time) that the recommender update was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the recommender update. A recommender update can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
- Parameters:
status- The status of the recommender update. A recommender update can be in one of the following states:CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If a recommender update fails, the reason behind the failure.
- Parameters:
failureReason- If a recommender update fails, the reason behind the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-