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 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

      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

      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 the ViolationEvent.Builder avoiding the need to create one manually via ViolationEvent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to violationEvents(List<ViolationEvent>).

      Parameters:
      violationEvents - a consumer that will call methods on ViolationEvent.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 null if there are no additional results.

      Parameters:
      nextToken - A token that can be used to retrieve the next set of results, or null if there are no additional results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.