Interface ListViolationEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListViolationEventsResponse.Builder,,ListViolationEventsResponse> IotResponse.Builder,SdkBuilder<ListViolationEventsResponse.Builder,,ListViolationEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListViolationEventsResponse
-
Method Summary
Modifier and TypeMethodDescriptionA token that can be used to retrieve the next set of results, ornullif there are no additional results.violationEvents(Collection<ViolationEvent> violationEvents) The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.violationEvents(Consumer<ViolationEvent.Builder>... violationEvents) The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.violationEvents(ViolationEvent... violationEvents) The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
violationEvents
The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
- Parameters:
violationEvents- The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violationEvents
The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
- Parameters:
violationEvents- The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violationEvents
ListViolationEventsResponse.Builder violationEvents(Consumer<ViolationEvent.Builder>... violationEvents) The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
This is a convenience method that creates an instance of theViolationEvent.Builderavoiding the need to create one manually viaViolationEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toviolationEvents(List<ViolationEvent>).- Parameters:
violationEvents- a consumer that will call methods onViolationEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-