Interface AlternativesOutcome.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AlternativesOutcome.Builder,,AlternativesOutcome> SdkBuilder<AlternativesOutcome.Builder,,AlternativesOutcome> SdkPojo
- Enclosing class:
AlternativesOutcome
@Mutable
@NotThreadSafe
public static interface AlternativesOutcome.Builder
extends SdkPojo, CopyableBuilder<AlternativesOutcome.Builder,AlternativesOutcome>
-
Method Summary
Modifier and TypeMethodDescriptioncomparablesDropped(Collection<DroppedComparable> comparablesDropped) Comparable apps that were not used, with the reason.comparablesDropped(Consumer<DroppedComparable.Builder>... comparablesDropped) Comparable apps that were not used, with the reason.comparablesDropped(DroppedComparable... comparablesDropped) Comparable apps that were not used, with the reason.comparablesUsed(String... comparablesUsed) Names of the comparable apps whose prices were used.comparablesUsed(Collection<String> comparablesUsed) Names of the comparable apps whose prices were used.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
-
comparablesUsed
Names of the comparable apps whose prices were used.
- Parameters:
comparablesUsed- Names of the comparable apps whose prices were used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comparablesUsed
Names of the comparable apps whose prices were used.
- Parameters:
comparablesUsed- Names of the comparable apps whose prices were used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comparablesDropped
Comparable apps that were not used, with the reason.
- Parameters:
comparablesDropped- Comparable apps that were not used, with the reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comparablesDropped
Comparable apps that were not used, with the reason.
- Parameters:
comparablesDropped- Comparable apps that were not used, with the reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comparablesDropped
AlternativesOutcome.Builder comparablesDropped(Consumer<DroppedComparable.Builder>... comparablesDropped) Comparable apps that were not used, with the reason.
This is a convenience method that creates an instance of theDroppedComparable.Builderavoiding the need to create one manually viaDroppedComparable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomparablesDropped(List<DroppedComparable>).- Parameters:
comparablesDropped- a consumer that will call methods onDroppedComparable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-