public static interface ListActiveViolationsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListActiveViolationsResponse.Builder,ListActiveViolationsResponse>
Modifier and Type | Method and Description |
---|---|
ListActiveViolationsResponse.Builder |
activeViolations(ActiveViolation... activeViolations)
The list of active violations.
|
ListActiveViolationsResponse.Builder |
activeViolations(Collection<ActiveViolation> activeViolations)
The list of active violations.
|
ListActiveViolationsResponse.Builder |
activeViolations(Consumer<ActiveViolation.Builder>... activeViolations)
The list of active violations.
|
ListActiveViolationsResponse.Builder |
nextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListActiveViolationsResponse.Builder activeViolations(Collection<ActiveViolation> activeViolations)
The list of active violations.
activeViolations
- The list of active violations.ListActiveViolationsResponse.Builder activeViolations(ActiveViolation... activeViolations)
The list of active violations.
activeViolations
- The list of active violations.ListActiveViolationsResponse.Builder activeViolations(Consumer<ActiveViolation.Builder>... activeViolations)
The list of active violations.
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 #activeViolations(List)
.activeViolations
- a consumer that will call methods on List.Builder
#activeViolations(List)
ListActiveViolationsResponse.Builder nextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.