Interface BatchUpdateRecommendationStatusSuccessfulEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchUpdateRecommendationStatusSuccessfulEntry.Builder,
,BatchUpdateRecommendationStatusSuccessfulEntry> SdkBuilder<BatchUpdateRecommendationStatusSuccessfulEntry.Builder,
,BatchUpdateRecommendationStatusSuccessfulEntry> SdkPojo
- Enclosing class:
BatchUpdateRecommendationStatusSuccessfulEntry
public static interface BatchUpdateRecommendationStatusSuccessfulEntry.Builder
extends SdkPojo, CopyableBuilder<BatchUpdateRecommendationStatusSuccessfulEntry.Builder,BatchUpdateRecommendationStatusSuccessfulEntry>
-
Method Summary
Modifier and TypeMethodDescriptionAn identifier for an entry in this batch that is used to communicate the result.Indicates if the operational recommendation was successfully excluded.excludeReason
(String excludeReason) Indicates the reason for excluding an operational recommendation.excludeReason
(ExcludeRecommendationReason excludeReason) Indicates the reason for excluding an operational recommendation.The operational recommendation item.The operational recommendation item.referenceId
(String referenceId) Reference identifier of the operational recommendation.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
-
entryId
An identifier for an entry in this batch that is used to communicate the result.
The
entryId
s of a batch request need to be unique within a request.- Parameters:
entryId
- An identifier for an entry in this batch that is used to communicate the result.The
entryId
s of a batch request need to be unique within a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeReason
Indicates the reason for excluding an operational recommendation.
- Parameters:
excludeReason
- Indicates the reason for excluding an operational recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludeReason
BatchUpdateRecommendationStatusSuccessfulEntry.Builder excludeReason(ExcludeRecommendationReason excludeReason) Indicates the reason for excluding an operational recommendation.
- Parameters:
excludeReason
- Indicates the reason for excluding an operational recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excluded
Indicates if the operational recommendation was successfully excluded.
- Parameters:
excluded
- Indicates if the operational recommendation was successfully excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
The operational recommendation item.
- Parameters:
item
- The operational recommendation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
default BatchUpdateRecommendationStatusSuccessfulEntry.Builder item(Consumer<UpdateRecommendationStatusItem.Builder> item) The operational recommendation item.
This is a convenience method that creates an instance of theUpdateRecommendationStatusItem.Builder
avoiding the need to create one manually viaUpdateRecommendationStatusItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitem(UpdateRecommendationStatusItem)
.- Parameters:
item
- a consumer that will call methods onUpdateRecommendationStatusItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
referenceId
Reference identifier of the operational recommendation.
- Parameters:
referenceId
- Reference identifier of the operational recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-