Interface ListViolationEventsResponse.Builder

    • 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 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).

        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:
        #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, or null if there are no additional results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.