Interface RecommenderUpdateSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecommenderUpdateSummary.Builder,
,RecommenderUpdateSummary> SdkBuilder<RecommenderUpdateSummary.Builder,
,RecommenderUpdateSummary> SdkPojo
- Enclosing class:
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.Builder
recommenderConfig
(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
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
-
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.Builder
avoiding the need to create one manually viaRecommenderConfig.builder()
.When the
Consumer
completes,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 can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
- Parameters:
status
- The status of the recommender update.A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
-
- 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.
-