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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListActiveViolationsResponse.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 method that creates an instance of theActiveViolation.Builder avoiding the need to create one
manually via ActiveViolation.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #activeViolations(List.
activeViolations - a consumer that will call methods on
ActiveViolation.Builder#activeViolations(java.util.Collection) 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.Copyright © 2023. All rights reserved.