Interface UniqueProblem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UniqueProblem.Builder,
,UniqueProblem> SdkBuilder<UniqueProblem.Builder,
,UniqueProblem> SdkPojo
- Enclosing class:
UniqueProblem
public static interface UniqueProblem.Builder
extends SdkPojo, CopyableBuilder<UniqueProblem.Builder,UniqueProblem>
-
Method Summary
Modifier and TypeMethodDescriptionA message about the unique problems' result.problems
(Collection<Problem> problems) Information about the problems.problems
(Consumer<Problem.Builder>... problems) Information about the problems.Information about the problems.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 Details
-
message
A message about the unique problems' result.
- Parameters:
message
- A message about the unique problems' result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
problems
Information about the problems.
- Parameters:
problems
- Information about the problems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
problems
Information about the problems.
- Parameters:
problems
- Information about the problems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
problems
Information about the problems.
This is a convenience method that creates an instance of theProblem.Builder
avoiding the need to create one manually viaProblem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproblems(List<Problem>)
.- Parameters:
problems
- a consumer that will call methods onProblem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-