Interface ControlSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ControlSummary.Builder,,ControlSummary> SdkBuilder<ControlSummary.Builder,,ControlSummary> SdkPojo
- Enclosing class:
ControlSummary
@Mutable
@NotThreadSafe
public static interface ControlSummary.Builder
extends SdkPojo, CopyableBuilder<ControlSummary.Builder,ControlSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ControlSummary.BuilderlistingRecommendations(Consumer<ListingRecommendations.Builder> listingRecommendations) The recommendations that a listing recommendations control produced for the listing.listingRecommendations(ListingRecommendations listingRecommendations) The recommendations that a listing recommendations control produced for the listing.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
-
listingRecommendations
The recommendations that a listing recommendations control produced for the listing.
- Parameters:
listingRecommendations- The recommendations that a listing recommendations control produced for the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listingRecommendations
default ControlSummary.Builder listingRecommendations(Consumer<ListingRecommendations.Builder> listingRecommendations) The recommendations that a listing recommendations control produced for the listing.
This is a convenience method that creates an instance of theListingRecommendations.Builderavoiding the need to create one manually viaListingRecommendations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolistingRecommendations(ListingRecommendations).- Parameters:
listingRecommendations- a consumer that will call methods onListingRecommendations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-