Interface ListActiveViolationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListActiveViolationsResponse.Builder,ListActiveViolationsResponse>,IotResponse.Builder,SdkBuilder<ListActiveViolationsResponse.Builder,ListActiveViolationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListActiveViolationsResponse
public static interface ListActiveViolationsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListActiveViolationsResponse.Builder,ListActiveViolationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListActiveViolationsResponse.BuilderactiveViolations(Collection<ActiveViolation> activeViolations)The list of active violations.ListActiveViolationsResponse.BuilderactiveViolations(Consumer<ActiveViolation.Builder>... activeViolations)The list of active violations.ListActiveViolationsResponse.BuilderactiveViolations(ActiveViolation... activeViolations)The list of active violations.ListActiveViolationsResponse.BuildernextToken(String nextToken)A token that can be used to retrieve the next set of results, ornullif there are no additional results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
activeViolations
ListActiveViolationsResponse.Builder activeViolations(Collection<ActiveViolation> activeViolations)
The list of active violations.
- Parameters:
activeViolations- The list of active violations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeViolations
ListActiveViolationsResponse.Builder activeViolations(ActiveViolation... activeViolations)
The list of active violations.
- Parameters:
activeViolations- The list of active violations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeViolations
ListActiveViolationsResponse.Builder activeViolations(Consumer<ActiveViolation.Builder>... activeViolations)
The list of active violations.
This is a convenience method that creates an instance of theActiveViolation.Builderavoiding the need to create one manually viaActiveViolation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#activeViolations(List.) - Parameters:
activeViolations- a consumer that will call methods onActiveViolation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#activeViolations(java.util.Collection)
-
nextToken
ListActiveViolationsResponse.Builder nextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
nullif there are no additional results.- Parameters:
nextToken- A token that can be used to retrieve the next set of results, ornullif there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-