Interface FailureSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FailureSummary.Builder,,FailureSummary> SdkBuilder<FailureSummary.Builder,,FailureSummary> SdkPojo
- Enclosing class:
FailureSummary
public static interface FailureSummary.Builder
extends SdkPojo, CopyableBuilder<FailureSummary.Builder,FailureSummary>
-
Method Summary
Modifier and TypeMethodDescriptionfailures(Collection<WorldFailure> failures) The worlds that failed.failures(Consumer<WorldFailure.Builder>... failures) The worlds that failed.failures(WorldFailure... failures) The worlds that failed.totalFailureCount(Integer totalFailureCount) The total number of failures.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, sdkFields
-
Method Details
-
totalFailureCount
The total number of failures.
- Parameters:
totalFailureCount- The total number of failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
The worlds that failed.
- Parameters:
failures- The worlds that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
The worlds that failed.
- Parameters:
failures- The worlds that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
The worlds that failed.
This is a convenience method that creates an instance of theWorldFailure.Builderavoiding the need to create one manually viaWorldFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailures(List<WorldFailure>).- Parameters:
failures- a consumer that will call methods onWorldFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-