Interface FinishedWorldsSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FinishedWorldsSummary.Builder,,FinishedWorldsSummary> SdkBuilder<FinishedWorldsSummary.Builder,,FinishedWorldsSummary> SdkPojo
- Enclosing class:
FinishedWorldsSummary
public static interface FinishedWorldsSummary.Builder
extends SdkPojo, CopyableBuilder<FinishedWorldsSummary.Builder,FinishedWorldsSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FinishedWorldsSummary.BuilderfailureSummary(Consumer<FailureSummary.Builder> failureSummary) Information about worlds that failed.failureSummary(FailureSummary failureSummary) Information about worlds that failed.finishedCount(Integer finishedCount) The total number of finished worlds.succeededWorlds(String... succeededWorlds) A list of worlds that succeeded.succeededWorlds(Collection<String> succeededWorlds) A list of worlds that succeeded.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
-
finishedCount
The total number of finished worlds.
- Parameters:
finishedCount- The total number of finished worlds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
succeededWorlds
A list of worlds that succeeded.
- Parameters:
succeededWorlds- A list of worlds that succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
succeededWorlds
A list of worlds that succeeded.
- Parameters:
succeededWorlds- A list of worlds that succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureSummary
Information about worlds that failed.
- Parameters:
failureSummary- Information about worlds that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureSummary
default FinishedWorldsSummary.Builder failureSummary(Consumer<FailureSummary.Builder> failureSummary) Information about worlds that failed.
This is a convenience method that creates an instance of theFailureSummary.Builderavoiding the need to create one manually viaFailureSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureSummary(FailureSummary).- Parameters:
failureSummary- a consumer that will call methods onFailureSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-