public static interface UniqueProblem.Builder extends CopyableBuilder<UniqueProblem.Builder,UniqueProblem>
Modifier and Type | Method and Description |
---|---|
UniqueProblem.Builder |
message(String message)
A message about the unique problems' result.
|
UniqueProblem.Builder |
problems(Collection<Problem> problems)
Information about the problems.
|
UniqueProblem.Builder |
problems(Consumer<Problem.Builder>... problems)
Information about the problems.
|
UniqueProblem.Builder |
problems(Problem... problems)
Information about the problems.
|
copy
applyMutation, build
UniqueProblem.Builder message(String message)
A message about the unique problems' result.
message
- A message about the unique problems' result.UniqueProblem.Builder problems(Collection<Problem> problems)
Information about the problems.
problems
- Information about the problems.UniqueProblem.Builder problems(Problem... problems)
Information about the problems.
problems
- Information about the problems.UniqueProblem.Builder problems(Consumer<Problem.Builder>... problems)
Information about the problems.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #problems(List)
.problems
- a consumer that will call methods on List.Builder
#problems(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.