Interface ModifyRecommendationDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModifyRecommendationDetail.Builder,,ModifyRecommendationDetail> SdkBuilder<ModifyRecommendationDetail.Builder,,ModifyRecommendationDetail> SdkPojo
- Enclosing class:
ModifyRecommendationDetail
@Mutable
@NotThreadSafe
public static interface ModifyRecommendationDetail.Builder
extends SdkPojo, CopyableBuilder<ModifyRecommendationDetail.Builder,ModifyRecommendationDetail>
-
Method Summary
Modifier and TypeMethodDescriptiontargetInstances(Collection<TargetInstance> targetInstances) Determines whether this instance type is the Amazon Web Services default recommendation.targetInstances(Consumer<TargetInstance.Builder>... targetInstances) Determines whether this instance type is the Amazon Web Services default recommendation.targetInstances(TargetInstance... targetInstances) Determines whether this instance type is the Amazon Web Services default recommendation.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
-
targetInstances
Determines whether this instance type is the Amazon Web Services default recommendation.
- Parameters:
targetInstances- Determines whether this instance type is the Amazon Web Services default recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstances
Determines whether this instance type is the Amazon Web Services default recommendation.
- Parameters:
targetInstances- Determines whether this instance type is the Amazon Web Services default recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstances
ModifyRecommendationDetail.Builder targetInstances(Consumer<TargetInstance.Builder>... targetInstances) Determines whether this instance type is the Amazon Web Services default recommendation.
This is a convenience method that creates an instance of theTargetInstance.Builderavoiding the need to create one manually viaTargetInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetInstances(List<TargetInstance>).- Parameters:
targetInstances- a consumer that will call methods onTargetInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-