Interface ModifyRecommendationDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ModifyRecommendationDetail.Builder,ModifyRecommendationDetail>,SdkBuilder<ModifyRecommendationDetail.Builder,ModifyRecommendationDetail>,SdkPojo
- Enclosing class:
- ModifyRecommendationDetail
public static interface ModifyRecommendationDetail.Builder extends SdkPojo, CopyableBuilder<ModifyRecommendationDetail.Builder,ModifyRecommendationDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyRecommendationDetail.BuildertargetInstances(Collection<TargetInstance> targetInstances)Determines whether this instance type is the Amazon Web Services default recommendation.ModifyRecommendationDetail.BuildertargetInstances(Consumer<TargetInstance.Builder>... targetInstances)Determines whether this instance type is the Amazon Web Services default recommendation.ModifyRecommendationDetail.BuildertargetInstances(TargetInstance... targetInstances)Determines whether this instance type is the Amazon Web Services default 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 Detail
-
targetInstances
ModifyRecommendationDetail.Builder targetInstances(Collection<TargetInstance> 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(TargetInstance... 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 to#targetInstances(List.) - 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:
#targetInstances(java.util.Collection)
-
-