Interface ListInsightsDataRequest.Builder

  • Method Details

    • insightSource

      ListInsightsDataRequest.Builder insightSource(String insightSource)

      The Amazon Resource Name(ARN) of the trail for which you want to retrieve Insights events.

      Parameters:
      insightSource - The Amazon Resource Name(ARN) of the trail for which you want to retrieve Insights events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataType

      Specifies the category of events returned. To fetch Insights events, specify InsightsEvents as the value of DataType

      Parameters:
      dataType - Specifies the category of events returned. To fetch Insights events, specify InsightsEvents as the value of DataType
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataType

      Specifies the category of events returned. To fetch Insights events, specify InsightsEvents as the value of DataType

      Parameters:
      dataType - Specifies the category of events returned. To fetch Insights events, specify InsightsEvents as the value of DataType
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dimensionsWithStrings

      ListInsightsDataRequest.Builder dimensionsWithStrings(Map<String,String> dimensions)

      Contains a map of dimensions. Currently the map can contain only one item.

      Parameters:
      dimensions - Contains a map of dimensions. Currently the map can contain only one item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensions

      Contains a map of dimensions. Currently the map can contain only one item.

      Parameters:
      dimensions - Contains a map of dimensions. Currently the map can contain only one item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.

      Parameters:
      startTime - Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.

      Parameters:
      endTime - Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListInsightsDataRequest.Builder maxResults(Integer maxResults)

      The number of events to return. Possible values are 1 through 50. The default is 50.

      Parameters:
      maxResults - The number of events to return. Possible values are 1 through 50. The default is 50.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified a EventName as a dimension with PutObject as a value, the call with NextToken should include those same parameters.

      Parameters:
      nextToken - The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified a EventName as a dimension with PutObject as a value, the call with NextToken should include those same parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListInsightsDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.