Interface ListViolationEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListViolationEventsResponse.Builder,ListViolationEventsResponse>
,IotResponse.Builder
,SdkBuilder<ListViolationEventsResponse.Builder,ListViolationEventsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListViolationEventsResponse
public static interface ListViolationEventsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListViolationEventsResponse.Builder,ListViolationEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListViolationEventsResponse.Builder
nextToken(String nextToken)
A token that can be used to retrieve the next set of results, ornull
if there are no additional results.ListViolationEventsResponse.Builder
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.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.ListViolationEventsResponse.Builder
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
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
-
violationEvents
ListViolationEventsResponse.Builder 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.
- 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(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.
- 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.Builder
avoiding the need to create one manually viaViolationEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#violationEvents(List
.) - 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:
#violationEvents(java.util.Collection
)
-
nextToken
ListViolationEventsResponse.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.- Parameters:
nextToken
- A token that can be used to retrieve the next set of results, ornull
if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-